Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
[VBA - UserForm] Weird change of font size when changing Top proprierty by 1

Unanswered [VBA - UserForm] Weird change of font size when changing Top proprierty by 1

  • Monday, April 30, 2012 8:18 AM
     
     

    Hi,

    I noticed several times in formatting my UserForms that if I align my controls (mainly label or textbox, but maybe also others) in a column and then I decide to move one of the control a little up or down by 1pt (top propriety) the font size get scaled by 1 pt either, if the I move the control by 2pt the previous (corect) size come back.

    That is not a big problem when desiging manually, but when the layout is decided at run time may have a sligth unpleasent effect.

    Did you ever notice that? And do you have an explications/solution?

    Thanks, Lauro

All Replies

  • Monday, April 30, 2012 2:45 PM
     
     

    I used to notice the same thing, and If I remember correctly the solution was to always use multiple of 3 when re-sizing controls on the userform. For some reason, when I did that, the display was always fine.