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

2 posts, 0 answers
  1. Kjell
    Kjell avatar
    276 posts
    Member since:
    Jun 2010

    Posted 07 Feb 2012 Link to this post

    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.



  2. Kjell
    Kjell avatar
    276 posts
    Member since:
    Jun 2010

    Posted 07 Feb 2012 Link to this post

    Nevermind... I just downloaded the new release and the issue is resolved :)
  3. Kendo UI is VS 2017 Ready
Back to Top