• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSpinner Size  RSS feed

 
Steve Durber
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JSpinners to select a card suit (Diamonds, spades, clubs, hearts)
The spinner automaticaly resizes (shrinks and expands) to fit the text when the up arrow is clicked, when the down arrow is clicked it doesnt resize and the text Diamonds looks like this "iamon" because the spinner text window is the width of the word "clubs"

Can I set a spinner to an exact size?
Can I stop the resize?

If so how?
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
Steve Durber
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you
that is exactly what I was looking for
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!