RowLayout wrapping issue after structural changes [message #137892] |
Thu, 25 June 2009 12:48 |
Thomas Jodes Messages: 15 Registered: July 2009 |
Junior Member |
|
|
Hello all,
I have a layout issue with RowLayout. Basically, it's a Composite having
RowLayout that is filled with items, Buttons and/or ControlContributions.
This "Item-Bar" is later on manipulated, i.e. Buttons are disposed and
other ones are created.
The main problem is, that initially the Rowlayout lets all items wrap,
when space is rare or the browser window is resized.
But after the 2nd repaint, this component creates/removes the items
correct, but the wrap-feature is disabled. All items are in one line (the
clientArea's bounds are still correct, i checked that), meaning that right
Buttons/ControlContributions are hidden.
Any idea why this occurrs? I tried packs or layout data "tricks" - with no
'curing effect'. Has anyone a tricky, cludgy idea, thanks in advance.
|
|
|
Re: RowLayout wrapping issue after structural changes [message #138407 is a reply to message #137892] |
Fri, 26 June 2009 14:22 |
|
Hi Thomas,
I haven't fully understand your case. Do you want the children to wrap
or not? What are the settings of the RowLayout wrap=true/false, etc.?
Can you provide a simple code snippet?
Does this problem only occur in the first session or also after a
browser reload?
Ralf
Thomas Jodes wrote:
> I have a layout issue with RowLayout. Basically, it's a Composite having
> RowLayout that is filled with items, Buttons and/or ControlContributions.
> This "Item-Bar" is later on manipulated, i.e. Buttons are disposed and
> other ones are created.
>
> The main problem is, that initially the Rowlayout lets all items wrap,
> when space is rare or the browser window is resized.
> But after the 2nd repaint, this component creates/removes the items
> correct, but the wrap-feature is disabled. All items are in one line
> (the clientArea's bounds are still correct, i checked that), meaning
> that right Buttons/ControlContributions are hidden.
>
> Any idea why this occurrs? I tried packs or layout data "tricks" - with
> no 'curing effect'. Has anyone a tricky, cludgy idea, thanks in advance.
>
|
|
|
Powered by
FUDForum. Page generated in 0.01829 seconds