Recent

Author Topic: Managing font on project  (Read 3494 times)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Managing font on project
« on: January 22, 2009, 08:30:46 am »
Many projects (PeaZip, Lazarus itself) uses single source archive which can be compiled for all supported platforms without any font management problem (font too big, unequal spacing, etc).

I have Lazarus compiled with GTK2 and I try to build my Windows app (WinAPI -> GTK2). When I run it, the spacing looks really bad. Some writings are gone, one on top of another, etc. But Lazarus compiled from the same source using 3 different widgetset (WinAPI, GTK1, GTK2) doesn't have this problem.

How can I achieve this?

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Managing font on project
« Reply #1 on: January 22, 2009, 09:07:18 am »
AutoSize the controls to make sure the controls are big enough. Use anchoring to make sure the controls don't overlap. See wiki for more details.

 

TinyPortal © 2005-2018