Reputation: 4174
I have a text box and a search button which, in design time look perfectly as I want them. But once I run the program the button apparently changes location without explanation:
Note: The container form "AutoScaleMode" is currently set as "None". It was set as "Font" and it looked like this in run time:
Which was worst. I'm using Visual Studio Enterprise 2017 in Windows 10.
Upvotes: 1
Views: 1687
Reputation: 4174
Well, the workaround I found was to actually design based on run time appearance:
Which at human sight, seems pretty well (?). In this case I set 15pt font for the textbox and 32 height for the buttons.
Upvotes: 1