4 Answers, 1 is accepted
0
Hi Dongzhi,
Can you please share a screen shot demonstrating the exact issue as I test the scenario and didn't observe any issues. If you have really long values, that need more space you can try changing the FontSize for example in order to be able to fit more digits in that Width.
I'm looking forward to hearing from you.
Regards,
Kalin
Telerik
Can you please share a screen shot demonstrating the exact issue as I test the scenario and didn't observe any issues. If you have really long values, that need more space you can try changing the FontSize for example in order to be able to fit more digits in that Width.
I'm looking forward to hearing from you.
Regards,
Kalin
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
Dongzhi
Top achievements
Rank 1
answered on 02 Oct 2014, 04:23 PM
XAML:
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
<telerik:RadNumericUpDown Width="125" Margin="10" HorizontalAlignment="Left"/>
<telerik:RadNumericUpDown Width="200" Margin="10" HorizontalAlignment="Left"/>
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
<telerik:RadNumericUpDown Width="125" Margin="10" HorizontalAlignment="Left"/>
<telerik:RadNumericUpDown Width="200" Margin="10" HorizontalAlignment="Left"/>
0
Hi Dongzhi,
I tested the provided code and the controls look as expected (check the attached image). I assume there is a Style affecting the TextBox inside of the control (setting its Margin property), so what I can suggest you would be try removing any global TextBox style and check the NumericUpDown appearance again.
Hope this helps.
Regards,
Kalin
Telerik
I tested the provided code and the controls look as expected (check the attached image). I assume there is a Style affecting the TextBox inside of the control (setting its Margin property), so what I can suggest you would be try removing any global TextBox style and check the NumericUpDown appearance again.
Hope this helps.
Regards,
Kalin
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
Jason D
Top achievements
Rank 1
Veteran
answered on 01 Nov 2016, 08:42 PM
I had the same problem so thought I would chime in. The problem was indeed another style. I had created a style to ensure all TextBox's were the same width. The result of setting the updown to the same width apparently resulted in the textbox having the same with as the entire updown, arrows included, so no numbers were visible. I fixed this by assigning a key to the TextBox style so that the updown would not use the TextBox's style.