Hi all,

I recently switched to wt-3.2.2.

I've been struggling for a few days with a much complex application of
mine and tried to let it present itself in the way I'm used to see it,
with no success. So I decided to track the problems down and came up
with this very simple example.

http://pastebin.com/nePPg7cq

(Paste it into a main.cpp and compile with

        g++ -o main main.cpp -lwt -lwthttp

). This example will compile quietly against wt-3.2.1, the version I've
used until last week.
If you launch it and open a browser on it you'll see something like
the following:

http://img839.imageshack.us/img839/264/wt321app.png

Then I tried to compile against wt-3.2.2 and things changed a lot.

http://img210.imageshack.us/img210/3589/wt322app.png

(I simply got rid of the Wt::AlignTop hack in the setLayout call and
left the other code untouched).

In order to better understand the concepts behind the
new grid layout management, I'd like to ask someone to show me how
to make the application look exactly like the way it looks with the
old library version, because the only way it worked so far has been
to call some explicit set[Minimum/Maximum]Size on the group boxes
specifying the sizes in pixels (and I never had to).

How to cope with this very simple case?

Thanks a lot,
Antonio


------------------------------------------------------------------------------
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

Reply via email to