Width is not working for values too small

4 posts, 0 answers
  1. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 17 Jan 2014 Link to this post

    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
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 21 Jan 2014 Link to this post

    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 >>
  3. DevCraft banner
  4. Patrick
    Patrick avatar
    372 posts
    Member since:
    Aug 2012

    Posted 21 Jan 2014 Link to this post

    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
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 27 Jan 2014 Link to this post

    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 >>
Back to Top