Hello,
I can't seem to get various controls (button, label, dropdown, etc.) to scale correctly when the form font size is changed. Actually the size of the control appears to be scaled correctly but the font size of the control remains the same.
For example, create a new application and drop a radbutton on the form. In the form constructor add a change to the form font size:
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
Dim sysFont As Font = SystemFonts.MessageBoxFont
Me.Font = New Font(sysFont.Name, 14, sysFont.Style)
End Sub
At run-time the size of the button increases (good) but the font size remains at the default 8.25. This is not how the MS controls behave when added to the same form. The MS button size and font size change accordingly.
The form AutoScaleMode is set to Font.
Visual Studio 2015
Windows 10
Am I missing something?