Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Can one have the button label below the button icon?
Can one have the button label below the button icon? [message #1770933] Fri, 18 August 2017 21:25 Go to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 33
Registered: October 2012
Location: Z├╝rich, Switzerland
Can one have SWT draw a button label *below* the icon?

I want to label my icons/buttons but having the labels to the right of each button consumes too much screen real estate.

I want the buttons to look like the toolbar buttons in most applications, where the label is drawn below the icon, like sketched here:

[ button ]
Re: Can one have the button label below the button icon? [message #1771085 is a reply to message #1770933] Mon, 21 August 2017 19:36 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 788
Registered: January 2012
Senior Member

SWT provides light wrappers over the native OS widgets. If you want to achieve a different appearance, you'll need to create your own custom widget.

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:How to use push-button in SWT?
Next Topic:How to access view page data/object from CTabFolder event
Goto Forum:

Current Time: Thu Nov 15 21:39:31 GMT 2018

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

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

Back to the top