Recent

Author Topic: AutoSize property in EDIT controls, whats it do?  (Read 2010 times)

jamie

  • Hero Member
  • *****
  • Posts: 7601
AutoSize property in EDIT controls, whats it do?
« on: June 27, 2021, 12:31:58 pm »
Like the heading states, what is the purpose of this property when it does not seem to do anything for any edit controls that I can see?


I found it, It controls height only but not length
« Last Edit: June 27, 2021, 12:39:12 pm by jamie »
The only true wisdom is knowing you know nothing

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: AutoSize property in EDIT controls, whats it do?
« Reply #1 on: June 30, 2021, 09:43:34 am »
https://wiki.lazarus.freepascal.org/Autosize_/_Layout

This is mostly useful to create a single form code that behaves and displays consistently across platforms and widgetsets. The default absolute positioning will instantly break the moment you have more than 1 target platform.

 

TinyPortal © 2005-2018