Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Wrong Composite width with Decoration
Wrong Composite width with Decoration [message #646960] Mon, 03 January 2011 15:28 Go to next message
Opfermann C is currently offline Opfermann CFriend
Messages: 53
Registered: July 2009
Location: Annecy
Member
Hi,

When I create a Composite with a TextField and a Decoration associated to it, the width of the Composite is not big enought.
In fact, I cannot see the Decoration because the width is too small.

Is there a workaround for this issue ?
Re: Wrong Composite width with Decoration [message #647124 is a reply to message #646960] Tue, 04 January 2011 16:28 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

you're talking about ControlDecoration, don't you?

This is not an issue but by intention. You have to leave some space for
the decorators in your layout.

From the ControlDecoration JavaDoc:

"Clients using ControlDecoration should typically ensure that enough
margin space is reserved for a decoration by altering the layout data
margins, although this is not assumed or required by the ControlDecoration
implementation."

HTH, Ralf

--
Ralf Sternberg

Twitter: @ralfstx
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Wrong Composite width with Decoration [message #647223 is a reply to message #647124] Wed, 05 January 2011 08:14 Go to previous message
Opfermann C is currently offline Opfermann CFriend
Messages: 53
Registered: July 2009
Location: Annecy
Member
Ok,

Thank you for this information.

Regards,
Previous Topic:Launching a dialog on startup
Next Topic:Error handling in RAP, especially on Workbench Parts
Goto Forum:
  


Current Time: Thu Apr 25 09:49:18 GMT 2024

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

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

Back to the top