You indicated that the bug from [[[http://redmine.webtoolkit.eu/boards/2/topics/5017#message-5175]]] is fixed, but I still see the same behavior in the latest Wt git, as well as Wt-3.2.3rc ... Could you revisit it please?
Updated by Peter K almost 10 years ago
That's odd indeed! I cloned the Wt git repository again, re-built it, checked that I am linking against the correct version of libraries, but the problem is still there. Can it specific to Windows builds?
Here's the test case that fails on my machine:
@MyApplication::MyApplication(const WEnvironment& env):
//Horizontal layout for root() with two WContainerWidgets
WHBoxLayout* mainLayout=new WHBoxLayout(root());
WContainerWidget* leftContainer=new WContainerWidget();
WContainerWidget* rightContainer=new WContainerWidget();
mainLayout->setStretchFactor(rightContainer,1); //right WContainerWidget is stretched
//Left WContainerWidget has two other WContainerWidgets as children
//The top child has a layout, the bottom one is empty
WContainerWidget* leftTopContainer=new WContainerWidget(leftContainer);
WHBoxLayout* leftTopLayout=new WHBoxLayout(leftTopContainer);
WText* titleText=new WText("LEFT_CONTENT",leftTopContainer);
WContainerWidget* leftBottomContainer=new WContainerWidget(leftContainer);