Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT equivalent of Swing Spinner widget...
SWT equivalent of Swing Spinner widget... [message #451330] Sat, 26 February 2005 00:44 Go to next message
Eclipse UserFriend
Originally posted by: neha_yadav.persistent.co.in

Hi,

I guess SWT doesnt provide a Spinner widget, right? I have used a SWT
Spinner widget provided by Eclipse in:

org.eclipse.hyades.statistical.ui.widgets.spinner.internal.S pinner.

But I am facing a problem using it. If I set its default starting value to
0, and now if the user selects say a value 999, the widget doesnt
automatically resize itself to show the entire 3 digit value, but its size
still remain as per a 1-digit number. Thus it shows only 1 digit 9 of the
3-digit no and only on moving to the right, are the other 2-digits seen.

Can anyone help me with this? Is there a better option than this Spinner
widget available which also have no license issues?

Thank you.

Neha Yadav.
Re: SWT equivalent of Swing Spinner widget... [message #451331 is a reply to message #451330] Sat, 26 February 2005 00:52 Go to previous message
Eclipse UserFriend
Neha Yadav wrote:
> I guess SWT doesnt provide a Spinner widget, right? I have used a SWT

The latest SWT versions (IMHO sind 3.1M3) contain
a spinner widget: org.eclipse.swt.widgets.Spinner

Regards,
Axel
Previous Topic:Which version of SWT required for snippet 175...
Next Topic:Widget disposed error when opening a Window
Goto Forum:
  


Current Time: Fri Jul 04 07:27:19 EDT 2025

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

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

Back to the top