Displaying 1 result from an estimated 1 matches for "loadgui".
Did you mean:
  loadgs2
  
2010 Nov 13
2
Scrolling / wxPanel / wxFlexGridSizer
...Details:
I am starting with an .xrc file containing:
    ...
    wxStaticBoxSizer (horizontal, stretch factor 1, expanded vertically)
        wxPanel (stretch factor 1, expanded vertically)
    ...
In the ruby file invoking the interface I have:
require ''wx''
require ''loadgui.rb'' # from xrcise
class MyApp < MyGUI
  def on_init
    # Sizer holding key value pairs
    @settings_sizer = Wx::FlexGridSizer.new(2)
    @settings_sizer.add_growable_col(1, 1)
    # wxPanel holding the sizer above
    @panel       = @finder.call( ''ID_SETTINGS'' )...