Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How do I create a truly "flat" toggle button on a tool bar?(...like the ones used in Eclipse IDE itself)
icon5.gif  How do I create a truly "flat" toggle button on a tool bar? [message #663420] Mon, 04 April 2011 23:52
SBS  is currently offline SBS Friend
Messages: 57
Registered: January 2011
Member
I create a Button using a style of SWT.TOGGLE | SWT.FLAT and add it to a view's local tool bar but the resulting button always has a border, appears raised and looks out of place when compared to the other buttons on the bar. I'd like it to appear like the toggle buttons used in the Eclipse IDE itself where a border only appears when the button is selected and so that it is visually consistent with the other buttons.

How can I achieve this?
Previous Topic:ComboViewer Data Bind
Next Topic:Properties View for elements in JFace Viewer
Goto Forum:
  


Current Time: Fri Apr 26 03:02:50 GMT 2024

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

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

Back to the top