Ben's Sandbox
  • Projects
  • Tags

jQuery UI Spinner - Possible Alignment Option


View Blog   View Source  
This demo illustrates the alignment option I added to Spinner to provide four layout configurations for the spin controls. The left alignment is shown on the planning wiki and enables adding other controls to the right side of the widget like a drop menu. The vertical and horizontal options add additional flexibility based on how you might want to use the widget. I created three of each in different font sizes to ensure the widget scales properly with the input field. I have this changed in my fork of the project under the spinner-layout branch if you're interested in using it.
Right
Left
Vertical
Horizontal

© Ben Olson 2012 with help from Jekyll Bootstrap and Twitter Bootstrap