Author Topic: help with auto size  (Read 1134 times)

oqapsking

  • Full Member
  • ***
  • Posts: 178
    • View Profile
help with auto size
« 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

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





oqapsking

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Re: help with auto size
« Reply #1 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/