Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » setBackground doesn't paint width of entire row
setBackground doesn't paint width of entire row [message #451776] Tue, 08 March 2005 23:06
Eclipse UserFriend
Originally posted by: fn2o-mycl.spamex.com

I'd like to color code my tree so that different top-level element and their
children have different background colors. Unfortunately, calling
setBackground on the TreeItem, TableTreeItem or TableItem only paints the
region underneath the text label--not the whole row. I wish to paint the
width of the whole row. Does anybody have any suggestions? Must I try
painting the backgrounds myself?



Here's the region setBackground is painting:
http://engel.us/setBackground.gif



Thanks
Previous Topic:Looking for input masking and data validation widgets for SWT
Next Topic:scientific plots in SWT
Goto Forum:
  


Current Time: Thu Mar 28 09:22:23 GMT 2024

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

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

Back to the top