Problems with NumericUpDown

Feb 25, 2011 at 4:38 AM

Hi, i have a trouble with this tool, in the XAMP i put the next line:

<extToolkit:NumericUpDown Value="13" Increment="1" Maximum="15" Minimum="1" Margin="488,12,53,580" IsEnabled="True" IsEditable="False" />

But when i compile, i see this:

Is more bigger and i don't know why


Thanks and sorry for my bad english

Feb 25, 2011 at 2:18 PM

The is related to how you are laying out your view.  You are using only margins to control your layout which causes the effect you are seeing.  It doesn't matter what control you use, it could be a TextBox, and the same thing will happen.  I would recommend re-evaluating the way you are laying out your view.

Feb 25, 2011 at 10:00 PM

I can fixed, changed the VerticalAlignment="Top" and HorizontalAlignment="Left".

I now, maybe isn't THE solution, but works.


Thank and sorry for the inconvenience :)