Forum: wxRuby Expanding a flex grid sizer horizontally

8987b8a8b1cc862d332b9ed4ed1030e6?d=identicon&s=25 Simon Szustkowski (Guest)
on 2011-07-05 21:20
(Received via mailing list)
Attachment: smime.p7s (4 KB)
Attachment: PGP.sig (242 Bytes)
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
06f6780c99d4a8dd71f2b474082ea9ce?d=identicon&s=25 Alex Fenton (Guest)
on 2011-07-06 16:01
(Received via mailing list)
On 05/07/2011 20:11, Simon Szustkowski wrote:
>
> Right now it is so that the TextCtrls have the same width as the StaticTexts.
Can you tell me how to expand them horizontally?

Not tested, but I think you ought to specify that the second column of
the FGSizer should take up extra space

settingsRow.add_growable_column(1)

alex
8987b8a8b1cc862d332b9ed4ed1030e6?d=identicon&s=25 Simon Szustkowski (Guest)
on 2011-07-08 21:23
(Received via mailing list)
Attachment: smime.p7s (4 KB)
Attachment: PGP.sig (242 Bytes)
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
This topic is locked and can not be replied to.