Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Wrong Composite width with Decoration
Wrong Composite width with Decoration [message #646960] Mon, 03 January 2011 10:28 Go to next message
Eclipse UserFriend
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 11:28 Go to previous messageGo to next message
Eclipse UserFriend
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 03:14 Go to previous message
Eclipse UserFriend
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 Jul 03 03:25:48 EDT 2025

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

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

Back to the top