Displaying 1 result from an estimated 1 matches for "box_sizer".
Did you mean:
bo_size
2006 Apr 23
5
Re: StaticBoxSizer bug?
...----------------------------------------------------------------
>
> #!/usr/bin/env ruby
>
> require ''wx''
>
> class SizerTestFrame < Wx::Frame
> def initialize(*args)
> super(*args)
>
> panel = Wx::Panel.new(self, Wx::ID_ANY)
> box_sizer = Wx::BoxSizer.new(Wx::HORIZONTAL)
> box = Wx::StaticBox.new(panel, Wx::ID_ANY, ''Box Title'')
> text = Wx::StaticText.new(panel, Wx::ID_ANY, ''Some text!'')
> static_box_sizer = Wx::StaticBoxSizer.new(box, Wx::VERTICAL)
>
>...