Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » TitleBarBorder and FrameBorder
TitleBarBorder and FrameBorder [message #188447] Wed, 20 July 2005 16:55 Go to next message
Matt is currently offline MattFriend
Messages: 40
Registered: July 2009
Member
Hi,

I'm trying to combine the scheme of a FrameBorder with the label alignment
of a TitleBarBorder (tbb). Here's what I've tried:

new CompoundBorder(new FrameBorder(null), tbb)
- Doesn't work because the FrameBorder's label space is still displayed.

new CompoundBorder(new SchemeBorder(FrameBorder.SCHEME_FRAME), tbb)
- Doesn't work because the SCHEME_FRAME field is protected.

Any help would be greatly appreciated.

Matt
Re: TitleBarBorder and FrameBorder [message #188459 is a reply to message #188447] Wed, 20 July 2005 17:47 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

FrameBorder is already a compound border, so you can just put the
TitleBarBorder inside it.

"MattS" <mattscar@yahoo.com> wrote in message
news:02c9a6f9ebdaad4cccfe695a29b1c845$1@www.eclipse.org...
> Hi,
>
> I'm trying to combine the scheme of a FrameBorder with the label alignment
> of a TitleBarBorder (tbb). Here's what I've tried:
>
> new CompoundBorder(new FrameBorder(null), tbb)
> - Doesn't work because the FrameBorder's label space is still displayed.
>
> new CompoundBorder(new SchemeBorder(FrameBorder.SCHEME_FRAME), tbb)
> - Doesn't work because the SCHEME_FRAME field is protected.
>
> Any help would be greatly appreciated.
>
> Matt
>
Previous Topic:Show a wizard during creation
Next Topic:Thumbnail painting
Goto Forum:
  


Current Time: Tue Dec 03 06:27:31 GMT 2024

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

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

Back to the top