search for: buttonsizer

Displaying 2 results from an estimated 2 matches for "buttonsizer".

2004 Nov 22
1
Layout Issue ...
...ame.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.fit( @frame ) @frame.show self.main_loop end def createButtonSizer @buttonSizer = Wx::BoxSizer.new( Wx::HORIZONTAL ) @btn1 = Wx::Button.new(@panel, -1, ''B...
2008 Oct 06
2
StdDialogButtonSizer default button
Hi all, How do i set the default button for a Wx::StdDialogButtonSizer? Any hints would be appreciated. regards. bio. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users