Wrong Composite width with Decoration [message #646960] |
Mon, 03 January 2011 15:28 |
|
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 |
|
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/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03152 seconds