|
|
Re: browser widget - remove border [message #444666 is a reply to message #444662] |
Wed, 20 October 2004 07:53 |
Eclipse User |
|
|
|
Originally posted by: lyashchuk.mail333.com
Hello, Chris!
You wrote on Tue, 19 Oct 2004 19:24:20 -0400:
C> Is there any way to remove the border from the browser widget (on
Windows).
C> I'm using the browser widget in a form editor and I'd rather let the
form
C> toolkit draw the border. I'm guessing that the border is actually
painted
C> by the IE control and not by SWT and that may mean no.
C> Any help appreciated,
C> -Chris
final Composite composite = new Composite(parent, SWT.NONE);
{
FillLayout layout = new FillLayout();
layout.marginHeight = -2;
layout.marginWidth = -2;
composite.setLayout(layout);
}
Browser browser = new Browser(composite, SWT.FLAT);
With best regards, Lyashchuk Anatoliy. E-mail: lyashchuk@mail333.com
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07699 seconds