I have a spinner that has a range of 0 - 23. So max 2 digits. Yet it's being displayed as a wide field capable of around 10 digits.
How do I make it smaller?
I have tried:
setLength(2)
setWidth(2)
Nothing works.
Here is my code:
How do I make it smaller?
I have tried:
setLength(2)
setWidth(2)
Nothing works.
Here is my code:
Code:
SpinnerItem sendTimeHr = new SpinnerItem(); sendTimeHr.setName("sendTimeHr"); sendTimeHr.setMax(23); sendTimeHr.setMin(0); sendTimeHr.setTitle("Time:"); sendTimeHr.setLength(2); sendTimeHr.setWidth(10); sendTimeHr.setDefaultValue(hour);
Comment