search for: player_name_text

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

2007 Jan 22
4
Adding sizers to other sizers doesn''t work
...w_sizer.add(Wx::StaticText.new(self, -1, "Player Name")) sizer.add(row_sizer) row = Wx::Panel.new(self,-1) row_sizer = Wx::BoxSizer.new(Wx::HORIZONTAL) row.set_sizer(row_sizer) character_name_text = Wx::TextCtrl.new(self, -1) row_sizer.add(character_name_text) player_name_text = Wx::TextCtrl.new(self, -1) row_sizer.add(player_name_text) sizer.add(row_sizer) end (I know adding the rows is ugly, but I''m not bothering ''ruby-izing'' this until I figure this crap out.) This certainly produces the results I want, however when I quit the appli...