#include <Wt/WVBoxLayout>
Public Member Functions | |
WVBoxLayout (WWidget *parent=0) | |
Create a new vertical box layout. |
This convenience class creates a vertical box layout, laying contained widgets out from top to bottom.
See WBoxLayout for available member methods and more information.
Usage example:
Wt::WContainerWidget *w = new Wt::WContainerWidget(this); w->resize(WLength::Auto, 600); Wt::WVBoxLayout *layout = new Wt::WVBoxLayout(); layout->addWidget(new Wt::WText("One")); layout->addWidget(new Wt::WText("Two")); layout->addWidget(new Wt::WText("Three")); layout->addWidget(new Wt::WText("Four")); w->setLayout(layout);
Wt::WVBoxLayout::WVBoxLayout | ( | WWidget * | parent = 0 |
) |
Create a new vertical box layout.
Use parent=0
to created a layout manager that can be nested inside other layout managers.