Recent

Author Topic: [Solved] Buttons are not fully visible on AutoSized panel  (Read 1210 times)

Alextp

  • Hero Member
  • *****
  • Posts: 1403
    • UVviewsoft
[Solved] Buttons are not fully visible on AutoSized panel
« on: April 26, 2021, 12:34:50 pm »
I add the demo. run it, press the button to show 2nd form. That form has 2 buttons on top, both AutoSized on AutoSized panel. macOS 10.8.5 shows top buttons cropped, lower 2-3 pixels do not fit.
« Last Edit: April 28, 2021, 10:35:24 am by Alextp »

Alextp

  • Hero Member
  • *****
  • Posts: 1403
    • UVviewsoft
Re: Buttons are not fully visible on AutoSized panel
« Reply #1 on: April 26, 2021, 12:40:16 pm »
And issue 2. When I drag the form2's lower edge by mouse, to up, I sometimes see totally broken UI of form2-- for some seconds, listbox/memo moves down by 30-100px. very strange. do you see it? macOS 10.8.5.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1622
  • Former Delphi 1-7, 10.2 user
Re: Buttons are not fully visible on AutoSized panel
« Reply #2 on: April 26, 2021, 01:48:26 pm »
Issue 1: Buttons look OK in Mojave 10.14.6 - see pic.

Issue 2: Do not experience it (tried many times).

Lazarus 2.3 + FPC 3.3.1 2021-10-19 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 + FPC 3.3.1 2021-09-21 macOS 11.6 aarch64 Xcode 13
Lazarus 2.3 2021-08-11 FPC 3.2.2 FreeBSD 13.0 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

Alextp

  • Hero Member
  • *****
  • Posts: 1403
    • UVviewsoft
Re: Buttons are not fully visible on AutoSized panel
« Reply #3 on: April 26, 2021, 02:07:15 pm »
@trev,
your picture shows 1pixel cropped at the bottom of buttons.

Alextp

  • Hero Member
  • *****
  • Posts: 1403
    • UVviewsoft
Re: [Solved] Buttons are not fully visible on AutoSized panel
« Reply #4 on: April 28, 2021, 10:35:49 am »
Solved after I set the BorderSpacing.Bottom=6 for buttons.

 

TinyPortal © 2005-2018