This is a migrated thread and some comments may be shown as answers.

What is the correct way to set width on a numeric textbox?

1 Answer 704 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Kjell asked on 07 Feb 2012, 07:35 PM
I tried:
<input id="hoursBox" value="0" style="width: 100px" />

and I also tried:
$("#hoursBox").width(100).kendoNumericTextBox({
            format: "#.00",
            min: 0,
            step: 0.1
        });

both methods adjust the width, but the right side border gets cutoff.  I have attached a screenshot, please note the area immediately to the right of the up down arrows.  If I don't adjust the width then it looks fine but it's much to wide.



1 Answer, 1 is accepted

Sort by
0
Kjell
Top achievements
Rank 1
answered on 08 Feb 2012, 01:58 AM
Nevermind... I just downloaded the new release and the issue is resolved :)
Tags
NumericTextBox
Asked by
Kjell
Top achievements
Rank 1
Answers by
Kjell
Top achievements
Rank 1
Share this question
or