Hey Omar,

It depends on what you want? Not everything can be shown on the screen so
you need to decide.

Either you add at line 74:
  container->setOverflow(Wt::WContainerWidget::OverflowHidden);

Or you may want a scrollbar to appear at the level of the container, then
change lines 65-:

   auto mainContainer = new Wt::WContainerWidget();
   mainContainer->setOverflow(Wt::WContainerWidget::OverflowAuto);

   auto layoutContainer = new Wt::WContainerWidget(mainContainer);
   layoutContainer->setLayout(layout);

Regards,
koen

2014-12-24 1:05 GMT+01:00 Omar GIVERNAUD <o.givern...@gmail.com>:

> Hi
>
> here an example of container collapsing
> screenshot: https://s3-eu-west-1.amazonaws.com/imgimg/plop.png
> code: http://pastebin.com/8N0Z1gDn
>
> It does the same with version 3.1, 3.3.1 and 3.3.3
>
> How can I solve it?
>
> regards
> trax
>
>
>
>
> 2014-11-12 10:44 GMT+01:00 Marco Kinski <wagner.ma...@gmail.com>:
>
>> Hi Trax,
>>
>> 2014-10-31 17:31 GMT+01:00 Omar GIVERNAUD <o.givern...@gmail.com>:
>>
>>> * Adding a new widget in a WVBoxLayout makes the previous widget get
>>> superposed
>>>
>>>
>> try to add a spacer (Wt::WBoxLayout::addStretch) with a higher ratio item
>> inside the layout to prevent the other contents from stretching to excess
>> space.
>>
>> --
>> Regards,
>> Marco
>>
>>
>> ------------------------------------------------------------------------------
>> Comprehensive Server Monitoring with Site24x7.
>> Monitor 10 servers for $9/Month.
>> Get alerted through email, SMS, voice calls or mobile push notifications.
>> Take corrective actions from your mobile device.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to