Displaying 1 result from an estimated 1 matches for "characterinfopanel".
2007 Jan 22
4
Adding sizers to other sizers doesn''t work
....8
ruby 1.8.4 (2005-12-24) [i686-darwin]
wxruby2-preview (0.0.37)
using zshell
I''m having a heck of a time setting up a GUI with a differing number of
widgets per row, resulting in a differing number or widgets per column.
At first I tried to simply do something like the following:
class CharacterInfoPanel < Wx::Panel
def initialize(parent)
super(parent)
sizer = Wx::BoxSizer.new(Wx::VERTICAL)
set_sizer(sizer)
row = Wx::Panel.new(self,-1)
row_sizer = Wx::BoxSizer.new(Wx::HORIZONTAL)
row.set_sizer(row_sizer)
row_sizer.add(Wx::StaticText.new(self, -1, "Character Na...