Forum: wxRuby Expanding a flex grid sizer horizontally

Posted by Simon Szustkowski (Guest)
on 2011-07-05 21:20
Attachment: smime.p7s (4,12 KB)
Attachment: PGP.sig (242 Bytes)
(Received via mailing list)
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
Posted by 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
Posted by Simon Szustkowski (Guest)
on 2011-07-08 21:23
Attachment: smime.p7s (4,12 KB)
Attachment: PGP.sig (242 Bytes)
(Received via mailing list)
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.