Hi again Koen,
> Sorry for the long time getting back to you... but (as always), thanks > for the test case. no problem at all. As I wrote it's just a matter of periodically trying to keep up with your new layout management code, since we have been stuck at 3.2.1 version due to the lack of time and resources which we should invest on the porting of our code base which was written against the old way of using the grid managers. > There was indeed a bug which I fixed just now in my copy (and needs > more testing before pushing it out). Ok, I'll wait for it. > When changing the code to setMaximumSize(WLength::Auto, 2048), this > behaves fine (even before the bug fix). What do you actually expect > maximum width to imply in this case? I might be wrong, but since we have a lot of old-styled code for grid layout managers, I thought I would have had to keep in mind this detail from your docs above the others: "When the container of a layout manager has a maximum size set using WWidget::setMaximumSize(), then the size of the container will be based on the preferred size of the contents, up to this maximum size, instead of the default behaviour of constraining the size of the children based on the size of the container." Without specifying that directive, every wt app we have developed so far shows very big elements trying to fill all the available page space. By using setMaximumSize instead, I noticed that I could prevent this from happening but I started to experience that weird behaviour and wrote the simple test case you made use of. Thanks, Antonio ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest