Jump to content

TrickyWidget

Members
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by TrickyWidget


  1. Hi, folks.  I'm returning to Delphi after a looooong time away.  I just cranked up 10.3 (26.0.36039.7899) on Windows 10 and mostly it seems fine.  However, when I size my widgets with the snap grid on the form, they're always 1 too big on both axes.  For example, if I set the grid to 16x16 and make a button that is 2 spaces x 2 spaces, its size should be 32x32.  But instead, it's 33x33.  Or if I make it 6x3 spaces, its size is 97x49.  I've poked and tweaked everything I can think of, but they refuse to budge.  Every widget on every form is 1 too big!

     

    Does anyone know what's going on or how to fix it?

     

    Thanks!

     

    EDIT:

    This is about using the form designer in the IDE.  Here's an example with a 32x32 form snap grid.  All four corners of this button have been "snapped" to the grid.  It is 3 grid spaces wide and 2 grid spaces tall.  Its size should be 96x64.  But instead, it is 97x65.

     

    TooBig.png.2f24b3f5ac3fd90badba06af8f935047.png

×