Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SashForm Divider render Sunken
SashForm Divider render Sunken [message #456905] Sun, 12 June 2005 22:37 Go to next message
Don Young is currently offline Don YoungFriend
Messages: 18
Registered: July 2009
Junior Member
All,


I'm simply use SashForm with the SWT.NONE as style and the divider dose not
show up at all. But if you move your mouse close to the divider line, a
shadow shows up for dragging.

If I use SWT.DEFAULT or SWT.BORDER as a style, then a "sunken" divider of
default width 3 pixels shows up instead of the normal "raise" rendering of
the divider like all Window apps.

What do I have to do to make the divider render "raised" instead of
"sunken"?

Thanks

-dy
Re: SashForm Divider render Sunken [message #456976 is a reply to message #456905] Mon, 13 June 2005 15:16 Go to previous messageGo to next message
Stefan Zeiger is currently offline Stefan ZeigerFriend
Messages: 102
Registered: July 2009
Senior Member
Don wrote:

> I'm simply use SashForm with the SWT.NONE as style and the divider dose not
> show up at all. But if you move your mouse close to the divider line, a
> shadow shows up for dragging.
>
> If I use SWT.DEFAULT or SWT.BORDER as a style, then a "sunken" divider of
> default width 3 pixels shows up instead of the normal "raise" rendering of
> the divider like all Window apps.
>
> What do I have to do to make the divider render "raised" instead of
> "sunken"?

Have a closer look at the dividers in other apps (like Explorer or IE).
You'll find that they appear to have an ETCHED_OUT style simply because
they are placed between two Controls with ETCHED_IN borders.

If you want the borders to be a part of the divider (looks the same, but
the borders can be dragged), have a look at my LiveSashForm class at
http://www.novocode.com/swt/

--
Stefan Zeiger - Developer of Novocode Application Framework
Build SWT-based MVC GUIs via XML: http://www.novocode.com/naf/
Re: SashForm Divider render Sunken [message #457009 is a reply to message #456976] Tue, 14 June 2005 15:13 Go to previous message
Stefan Zeiger is currently offline Stefan ZeigerFriend
Messages: 102
Registered: July 2009
Senior Member
Stefan Zeiger wrote:

> Have a closer look at the dividers in other apps (like Explorer or IE).
> You'll find that they appear to have an ETCHED_OUT style simply because
> they are placed between two Controls with ETCHED_IN borders.

Oops, I meant OUT and IN, not ETCHED_OUT and ETCHED_IN.

--
Stefan Zeiger - Developer of Novocode Application Framework
Build SWT-based MVC GUIs via XML: http://www.novocode.com/naf/
Previous Topic:RetargetAction --- Custom requests --- Copy paste actions
Next Topic:Tree item images
Goto Forum:
  


Current Time: Tue Apr 16 18:02:04 GMT 2024

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

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

Back to the top