Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Highlighting over item bounds
Highlighting over item bounds [message #13789] Wed, 11 October 2006 14:24 Go to next message
Cal is currently offline Cal
Messages: 70
Registered: July 2009
Member
Hi

This is a nebula/newbie question:

On selection, I'd like the titleArea and childArea to be highlighted as
one. I have the bounds highlighted but a little ~halo just around the
perimeter of the childArea control remains white. I added a border to the
child contents composite to check it out, area in question is within the
border. How do I get that painted? Thanks.

(single control in child composite, fillLayout)
Re: Highlighting over item bounds [message #13829 is a reply to message #13789] Fri, 13 October 2006 12:52 Go to previous messageGo to next message
Jeremy Dowdall is currently offline Jeremy Dowdall
Messages: 181
Registered: July 2009
Senior Member
It's subtle, so I want to make sure you're aware that the
createChildContents method passes in an SComposite for the parameter
"contents", and not a regular Composite.
There have also been changes to the SComposite class, and its creation
in the CContainerCell, so please update them from cvs (there is also the
addition of javadocs in SComposite :))
If the update does not fix this, I probably misunderstand the problem,
in which case please post a small screenshot to show the problem.

cheers

Cal wrote:
> Hi
>
> This is a nebula/newbie question:
>
> On selection, I'd like the titleArea and childArea to be highlighted as
> one. I have the bounds highlighted but a little ~halo just around the
> perimeter of the childArea control remains white. I added a border to
> the child contents composite to check it out, area in question is within
> the border. How do I get that painted? Thanks.
>
> (single control in child composite, fillLayout)
>
Re: Highlighting over item bounds [message #14378 is a reply to message #13829] Fri, 13 October 2006 15:40 Go to previous message
Cal is currently offline Cal
Messages: 70
Registered: July 2009
Member
I was thinking it was a regular composite. But the changes worked, thanks
Re: Highlighting over item bounds [message #566625 is a reply to message #13789] Fri, 13 October 2006 12:52 Go to previous message
Jeremy Dowdall is currently offline Jeremy Dowdall
Messages: 181
Registered: July 2009
Senior Member
It's subtle, so I want to make sure you're aware that the
createChildContents method passes in an SComposite for the parameter
"contents", and not a regular Composite.
There have also been changes to the SComposite class, and its creation
in the CContainerCell, so please update them from cvs (there is also the
addition of javadocs in SComposite :))
If the update does not fix this, I probably misunderstand the problem,
in which case please post a small screenshot to show the problem.

cheers

Cal wrote:
> Hi
>
> This is a nebula/newbie question:
>
> On selection, I'd like the titleArea and childArea to be highlighted as
> one. I have the bounds highlighted but a little ~halo just around the
> perimeter of the childArea control remains white. I added a border to
> the child contents composite to check it out, area in question is within
> the border. How do I get that painted? Thanks.
>
> (single control in child composite, fillLayout)
>
Re: Highlighting over item bounds [message #566641 is a reply to message #13829] Fri, 13 October 2006 15:40 Go to previous message
Cal is currently offline Cal
Messages: 70
Registered: July 2009
Member
I was thinking it was a regular composite. But the changes worked, thanks
Previous Topic:Highlighting over item bounds
Next Topic:ContainerCheckedTreeViewer
Goto Forum:
  


Current Time: Sat Aug 02 00:33:03 EDT 2014

Powered by FUDForum. Page generated in 0.02430 seconds