h1(#wxboxsizer). Wx::BoxSizer BoxSizers arrange their contents as either a column or a row, and may be nested to create sophisticated resizeable layouts. The idea behind a box sizer is that windows will most often be laid out in rather simple basic geometry, a row or a column, or hierarchies of both. The subclasses @Wx::HBoxSizer@ and @Wx::VBoxSizer@ are simply shortcuts for creating horizontal and vertical BoxSizers, respectively. The following are equivalent: Wx::BoxSizer.new(Wx::HORIZONTAL) Wx::HBoxSizer.new h2. Derived from "Sizer":sizer.html "Object":object.html h2. See also "Sizer":sizer.html h2. Methods