Displaying 2 results from an estimated 2 matches for "sizer_top".
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...n><span class="cx"> def initialize(parent)
</span><span class="cx"> super(parent, -1, "Modal dialog")
</span><span class="cx">
</span><del>- sizerTop = BoxSizer.new(HORIZONTAL)
</del><ins>+ sizer_top = BoxSizer.new(HORIZONTAL)
</ins><span class="cx">
</span><del>- @m_btnFocused = Button.new(self, -1, "Default button")
- @m_btnDelete = Button.new(self, -1, "&Delete button")
- btnOk = Button.new(self, ID_CANCEL, "&Close&...
2008 May 11
4
Choosing a Sizer
Following alex advices, i''ve used both "text/textctrl.rb" and
"etc/threaded.rb" to build my first wxApp.
I''ve changed the Sizer type mainly (from "Wx::BoxSizer" to
"Wx::FlexGridSizer").
I didn''t find the way to let @log (Wx::TextCtrl) span 2 columns. At the time
of writing it''s growing only vertically.
And also how to get