Reputation: 68
Is there any possibility to hide/remove the buttons of the org.eclipse.swt.widgets.Spinner
control without completely reimplementing it?
The easiest way I can think of would be a style-Flag but I was not able to find one which influences the buttons.
Maybe it is not possible at all since the OS manages the implementation of those controls.
Upvotes: 0
Views: 201
Reputation: 111142
Looking at the source of the Spinner
class there is no support for leaving out the buttons.
I looked at the Mac, Windows and Linux versions of the source.
Upvotes: 1