Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Changing the border on a Group
Changing the border on a Group [message #447565] Tue, 14 December 2004 20:18 Go to next message
Chris Audley is currently offline Chris AudleyFriend
Messages: 41
Registered: July 2009
Member
I've been working with the Group widget, but I haven't been able to
change to border set around the group regardless of the style settings I
use. What are the differences between SHADOW_ETCHED_IN,
SHADOW_ETCHED_OUT, SHADOW_IN and SHADOW_OUT, the javadoc has nothing to
say on the topic. I've been trying them all and none seems to have any
effect on the appearance of the group.

Windows XP SP2
Eclipse 3.0.1
JDK 1.4.2_05
Re: Changing the border on a Group [message #447566 is a reply to message #447565] Tue, 14 December 2004 20:41 Go to previous messageGo to next message
Mani Ghamari is currently offline Mani GhamariFriend
Messages: 33
Registered: July 2009
Member
The docs for
SWT.SHADOW_ETCHED_OUT & SWT.SHADOW_ETCHED_IN say:

"Note that this is a HINT. It is ignored on all platforms except Motif. "

So don't expect them to have any effect on any control on WinXP.

The docs also comment that
SWT.SHADOW_IN & SWT.SHADOW_OUT
are HINTS as well.

Because of the it's multiplatform nature, SWT makes no guarantee about
the availability and effectiveness of hints on specific systems (Thats why
they are called HINTS :) )...

As far as I know, all the SHADOW_* hints are ignored on Win32 implementation
of the Group widget.

regards,

Mani

"Chris Audley" <chris.audley@beacon-cs.com> wrote in message
news:cpnhrd$c2s$1@www.eclipse.org...
> I've been working with the Group widget, but I haven't been able to change
> to border set around the group regardless of the style settings I use.
> What are the differences between SHADOW_ETCHED_IN, SHADOW_ETCHED_OUT,
> SHADOW_IN and SHADOW_OUT, the javadoc has nothing to say on the topic.
> I've been trying them all and none seems to have any effect on the
> appearance of the group.
>
> Windows XP SP2
> Eclipse 3.0.1
> JDK 1.4.2_05
Re: Changing the border on a Group [message #447569 is a reply to message #447566] Tue, 14 December 2004 22:20 Go to previous message
Chris Audley is currently offline Chris AudleyFriend
Messages: 41
Registered: July 2009
Member
I saw that they were hints and I understand what 'hint' means, but where
the SWT documentation falls down flat is in indicating which platforms
respond to the style (with a few exceptions as you mentioned) and what
they do on platforms that pay attention.

Anyway, thanks for confirming that these do nothing and I wasn't missing
anything.

Cheers
Chris

Mani Ghamari wrote:

> Because of the it's multiplatform nature, SWT makes no guarantee about
> the availability and effectiveness of hints on specific systems (Thats why
> they are called HINTS :) )...
>
> As far as I know, all the SHADOW_* hints are ignored on Win32 implementation
> of the Group widget.
>
> regards,
>
> Mani
Previous Topic:TableViewer Painting CellEditor One Cell To High
Next Topic:How can I make a table with a number of specified rows?
Goto Forum:
  


Current Time: Sat Oct 24 18:39:09 GMT 2020

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

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

Back to the top