Reputation: 474
I'm working on universal app. When I'm designing the view for Windows Phone 8.1 project, I can't make any button's width smaller than 109. If I set the button's width property to smaller than that, it becomes 109 when rendered.
I would like to know how to force the button to be smaller than that, and why does this limitation exists in the first place.
Thanks a lot for helping!
Upvotes: 6
Views: 2375
Reputation: 8161
If you are just dragging the button from the Toolbox, it will set a MinWidth and MinHeight for you. You need to change these properties.
<Button MinWidth="25" MinHeight="50" />
Upvotes: 14