Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RowLayout wrapping issue after structural changes
RowLayout wrapping issue after structural changes [message #137892] Thu, 25 June 2009 08:48 Go to next message
Eclipse UserFriend
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 10:22 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:Remember Data on page reload
Next Topic:Single Sourcing - Fragment Project question
Goto Forum:
  


Current Time: Sun Jul 27 02:24:26 EDT 2025

Powered by FUDForum. Page generated in 0.03480 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top