Hey Janne,

2010/10/4 Janne Rönkkö <[email protected]>:
>  Hi,
>
> -1 works with Firefox but not with IE8. With IE8 the PaintedW just keeps
> growing.

That is a caveat with IE that needs to be documented. I have added the
following to the documentation of WGridLayout and WBoxLayout:

"A caveat with layout managers is that you cannot reliably use a
stylesheet to add borders (or margin) to a widget inserted in a
layout: this is broken on Internet Explorer. To provide the layout,
the layout manager needs to set sizes on the contained widget but
these sizes also need to take into account the border/margin width.
Since on IE, this value will be 0 if the border or margin is provided
by a stylesheet (as opposed to by inline CSS by using
WWidget::decorationStyle()), the result will be wrong behaviour like
widgets that keep growing in size."

> With the real application I get the Wt session (?) to crash when I
> enable the size aware behaviour. I need to get an example for this
> behaviour.

A test case for that would be convenient !

Regards,
koen

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to