RadNumericInput hieght

4 posts, 0 answers
  1. kieran
    kieran avatar
    19 posts
    Member since:
    Jul 2006

    Posted 30 Jun 2009 Link to this post

    hi

    The RadNumericInput hieght has a height that I can alter, i want to make it smaller so I can combione with normal textboxs that pick up height from style sheet attributes

    is there a min height in this control?

    Kieran

  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 01 Jul 2009 Link to this post

    Hi Kieran,

    I am afraid I can't understand what is your question and what exactly you are trying to do. Please clarify.

    On a side note, you can set height to a RadNumericTextBox by using one of these:

    <telerik:RadNumericTextBox  Height="20px"  />

    <telerik:RadNumericTextBox  style="height:20px"  />

    <telerik:RadNumericTextBox  CssClass="MyTextBoxClass"  />

    .MyTextBoxClass
    {
          height: 20px;
    }


    Greetings,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. kieran
    kieran avatar
    19 posts
    Member since:
    Jul 2006

    Posted 09 Jul 2009 Link to this post

    hi

    Apologies - first message was garbled.

    I need to set a height on the numeric edits, however there does seem to be a valid minimum height.
    While I can set a height of for example 14px and actual edit will be 14px high the, the figure in the edit then gets pushed down so that it is cut off. I presume this is because of the padding/margins within the edit control. Is there anyway of getting at what causes this? 20px is too large, the rest of our edit controls have a height of 14px. As you know standards are God so need to have all edits the same height.

    regards
    Kieran
  5. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 09 Jul 2009 Link to this post

    Hi Kieran,

    In case you want to decrease the height of a RadNumericTextBox too much, you will also need to decrease its font-size, line-height and vertical paddings.

    Sincerely yours,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top