tkalignbox.rb : align widgets with same width/height
by Hidetoshi NAGAI
The box size depends on 'reqheight' and 'reqwidth' of contained widgets. If you want to give the box size when those requested sizes are 0, please set box.propagate = false (See the test routine at the tail of this file).
Required Files
- tk
Namespace
- MODULE Tk
- MODULE Tk::RbWidget
- CLASS Tk::RbWidget::AlignBox
- CLASS Tk::RbWidget::HBox
- CLASS Tk::RbWidget::HRBox
- CLASS Tk::RbWidget::VBBox
- CLASS Tk::RbWidget::VBox