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
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 :
> Hi Trax,
>
> 2014-10-
Hi Trax,
2014-10-31 17:31 GMT+01:00 Omar GIVERNAUD :
> * 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.
Hey Omer,
A layout manager will not change the 'overflow' settings of a widget that
you insert. The superimposition is because the default CSS overflow setting
is 'visible'. In practice you may want to change this to 'hidden' or 'auto'
(to show scrollbars if necessary).
I can't readily answer the
Hi all,
I don't know much about css/html that's why I love wt. However I often got
trouble with widget getting compressed or superposed.
For example:
* WLineEdit that become so thin thant we can't see the text inside.
* Chart that get compressed/stretch in one direction and loose ratio
* Adding a