Displaying 1 result from an estimated 1 matches for "topsiz".
Did you mean:
topviz
2004 Nov 22
1
Layout Issue ...
...am just getting
familar with wxRuby and any advice is appreciated.
# CODE STARTS HERE ....
require ''wxruby''
class TestApp < Wx::App
def on_init
@frame = Wx::Frame.new( nil, -1, "Test", Wx::DEFAULT_POSITION )
@panel = Wx::Panel.new( @frame )
@topSizer = Wx::FlexGridSizer.new( 1, 3 )
@topSizer.add( createInputSizer(), 1, Wx::GROW|Wx::ALL, 2 )
@topSizer.add( createGridSizer(), 1, Wx::GROW|Wx::ALL, 2 )
@topSizer.add( createButtonSizer(), 1,
Wx::ALIGN_CENTER_HORIZONTAL|Wx::ALL, 2 )
@panel.set_sizer( @topSizer )
@topSizer....