search for: row_sizer

Displaying 1 result from an estimated 1 matches for "row_sizer".

Did you mean: rom_size
2007 Jan 22
4
Adding sizers to other sizers doesn''t work
...esulting 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 Name")) row_sizer.add(Wx::Panel.new(self,-1, Wx::DEFAULT_POSITION, Wx::Size.new (10,1))) row_sizer.add(Wx::StaticText.new(self, -1, "Player Name"))...