|
|
Re: layout and borders not persisting [message #164354 is a reply to message #164253] |
Wed, 05 December 2007 13:09 |
Eclipse User |
|
|
|
Originally posted by: 5d5.mail.ru
@see org.eclipse.draw2d.CompoundBorder
Paolo Russian wrote:
> I realized one more thing.
>
> the method I use to show the wanted border and color is something
> similar to:
>
> figure.setBorder(new LineBorder(customcolor,customsize));
>
> and the method (below, in the same class) to show the custom padding is:
>
> [..]
> retrieve the "insets" stuff blah blah..
> [..]
> figure.setBorder(new
> MarginBorder(PaddingTop,PaddingLeft,PaddingBottom,PaddingRig ht));
>
>
> I think that since the're called <together>, in line the most of the
> times, it's obvious that one exclude the other.
>
> Now the question is: how to merge these two guys here?
>
|
|
|
Powered by
FUDForum. Page generated in 0.02766 seconds