Recent

Author Topic: caption does not fit in the button  (Read 11021 times)

rvk

  • Hero Member
  • *****
  • Posts: 6814
Re: caption does not fit in the button
« Reply #15 on: August 22, 2016, 08:13:57 pm »
Autosize still can be used I think, if planned carefully and may be combined with anchors and constraints.
Yes, especially anchors. Delphi does not have them, all Lazarus users may not yet know how to use them.
Delphi doesn't have anchors??

That's news to me. I use them daily in Delphi XE.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4603
  • I like bugs.
Re: caption does not fit in the button
« Reply #16 on: August 22, 2016, 10:30:14 pm »
Delphi doesn't have anchors??
That's news to me. I use them daily in Delphi XE.

Sorry, I meant Delphi doesn't have the extended anchors which allow a control to be anchored to any other control.
The AnchorEditor is needed for that. Anchors that can be set in OI are backwards compatible with Delphi.
These extended anchors are used a lot for example in Lazarus IDE forms and Autosize works rather well.
« Last Edit: August 22, 2016, 10:33:01 pm by JuhaManninen »
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

lainz

  • Hero Member
  • *****
  • Posts: 4725
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: caption does not fit in the button
« Reply #17 on: August 23, 2016, 11:53:13 pm »
I use the ChildSizing property of forms and panels and everything works with AutoSize, except for that controls doesn't handle AutoSize (Example: TTrackBar), but with some tricks these controls can be added too.

 

TinyPortal © 2005-2018