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

RadNumericInput hieght

3 Answers 111 Views
Input
This is a migrated thread and some comments may be shown as answers.
kieran
Top achievements
Rank 1
kieran asked on 30 Jun 2009, 03:54 PM
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

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Jul 2009, 03:03 PM
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.
0
kieran
Top achievements
Rank 1
answered on 09 Jul 2009, 11:04 AM
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
0
Dimo
Telerik team
answered on 09 Jul 2009, 11:28 AM
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.
Tags
Input
Asked by
kieran
Top achievements
Rank 1
Answers by
Dimo
Telerik team
kieran
Top achievements
Rank 1
Share this question
or