Displaying 1 result from an estimated 1 matches for "settings_sizer".
2010 Nov 13
2
Scrolling / wxPanel / wxFlexGridSizer
..., 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'' )
@panel.sizer = @settings_sizer
@labels = {}
@texts = {}
ENV.each { |k, v|
@labels[k] = Wx::StaticTe...