[Lazarus] Cross-platform project. Font sizes not the same....

Werner Pamler werner.pamler at freenet.de
Wed Aug 21 17:33:17 CEST 2019


AFIK there is no simple way to force fonts to use the same size (unless 
you specify a given font size - which however may not be the size of 
some theme of one of the target systems which will make your program 
look "strange"). The only way I know to make forms cross-platform is to 
use auto-sizing as much as possible. And don't position controls 
absolutely, but attach them to their neighbors by means of the 
AnchorEditor. Avoid frozen form sizes -- the user must be able to 
readjust the size if something is awfully wrong.


More information about the lazarus mailing list