AdvancedHMI Software

General Category => Support Questions => Topic started by: oqapsking on May 01, 2017, 11:32:00 AM

Title: help with auto size
Post by: oqapsking on May 01, 2017, 11:32:00 AM
i built my project to fit 1920*1080

now i am trying to make it work with any screen resolution

i found a code that can help with that
https://www.codeproject.com/Tips/1025766/VB-NET-Dynamically-Resize-and-Reposition-All-Contr (https://www.codeproject.com/Tips/1025766/VB-NET-Dynamically-Resize-and-Reposition-All-Contr)

but it only works if the form size change

i tried to use it on form load

but it didn't work
 and some times it makes the font size too small
can any one help me with that ?

with thanks




Title: Re: help with auto size
Post by: oqapsking on May 01, 2017, 11:53:59 AM
and this code solved the problem of the resizing controls

but the problem still in the fonts

http://www.dreamincode.net/forums/topic/228259-adjust-controls-sizeposition-with-screen-resolution/