Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:48 Go to next message
Thomas Jodes is currently offline Thomas JodesFriend
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 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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: Thu Apr 18 13:43:36 GMT 2024

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

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

Back to the top