Hi Koen, could you reproduce the bug with my example? When do you think this can be fixed? Its a major issue for us for upgrading to 3.2.2!
Regards, Stefan On 04.09.2012 12:32, Stefan Ruppert wrote: > Hi Koen, > > On 03.09.2012 22:05, Koen Deforche wrote: >> Hey Stefan, >> >> 2012/8/7 Stefan Ruppert<[email protected]>: >>> The change worked here fine. Thanks. >>> >>> But I still have some issues with the new grid layout. We have a >>> WComboBox which can be used to show different WGroupBox's below the >>> WComboBox in a WVBoxLayout of the WGridLayout. >>> >>> Thus when the user selects a new entry in the WComboBox all currently >>> shown group boxes are removed from the WContainerWidget by using the >>> removeWidget() call and then the new group boxes are added to the vbox >>> layout by using the addWidget(). After that the layout of the group >>> boxes are not correct. For example the surrounding frame of the group >>> box is greater than the width of the WVBoxLayout. >>> >>> When I add some group boxes statically during initialization phase it >>> locks perfect. Thus I assume the code for removeWidget()/addWidget() has >>> some layout problems. >>> >>> I'll try to adopt my last test case app to reproduce this behaviour. >> >> I would appreciate it if you would have found some time to do this ? > > I have managed to reproduce it in a small test example. Note the problem > arises when the WtApp::choiceChanged() is called the first time. With Wt > 3.2.1 this worked fine: > > http://pastebin.com/c390CLhu > > Note if you click on the "attribute" label a popup menu opens which lets > you add or remove some simple attribute input controls. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
