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

Width is not working for values too small

3 Answers 127 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 17 Jan 2014, 02:21 PM
Hello,
there is already a thread about this bug, but it doesn't seem that Telerik wants to correct it.
If I, as a designer, want to have RadNumericUpDown with a Width of 50 pixels, the control should be 50 wide. Why should I also set the MinWidth value?
A control should NEVER have a minimum width (or a maximum width) in its template.
Patrick

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 21 Jan 2014, 03:30 PM
Hello Patrick,

The MinWidth value is chosen by design, so the control can look good. Anyway, regardless of its value if you set the Width property of the control it won't be able to stretch if longer numbers are displayed. So, a better option is the MinWidth property to be set.
At this stage, we have no plans to change this.

Regards,
Konstantina
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
answered on 21 Jan 2014, 04:20 PM
Hello Konstantina,
I really think that the MinWidth of a control is the propblem of the page designer, not that of the control template designer.
In cases where the UpDown control contains only a signle digit, a Width of 50 is really too big and changing it does not work. That's really not intuitive.
In addition, this is not documented anywhere, so it can take hours to find the solution to this problem.
I maintain that the minimum size of a control, as its maxium size, its alignment, are thr problem of the page designer. He/shw knows the use of the control and the valid values. You, at Telerik, don't know what is displayed in the control.
Patrick
0
Konstantina
Telerik team
answered on 27 Jan 2014, 03:01 PM
Hi Patrick,

Thank you for your feedback. Your Telerik points have been updated for your involvement.

We will make sure to include this specific way of setting the width of the NumericUpDown control in our documentation.

Regards,
Konstantina
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Yogendra
Top achievements
Rank 1
commented on 03 Mar 2022, 12:05 PM

Hi Patrick and Konstantina,

Any Property something came to get rid of this bug.

 

I have to use for lesser width but RadNumericUpDown is specific to 170 MinWidth below this value I am not able to see the digits.

image

And below when I expanded

image

 

Regards,

Yogendra

Tags
NumericUpDown
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Konstantina
Telerik team
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or