I'm having what appears to be a similar layout issue using a WGrid inside a dialog. Here's the class I wrote to create the dialog:
(Let me know if you need me to build a standalone example from this)
With Chrome 22.0.1229.94 on Mac OS 10.7.5: if I compile and link with Wt 3.2.1, my dialog looks like:
If I compile and link with Wt 3.2.3, my dialog is all squashed: 
On Sep 18, 2012, at 6:12 AM, Stefan Ruppert wrote: 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<s...@myarm.com>:
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 witty-interest@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/witty-interest
|
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest