Recent

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

AlexTP

  • Hero Member
  • *****
  • Posts: 2387
    • 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: 2387
    • 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: 2020
  • 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).


AlexTP

  • Hero Member
  • *****
  • Posts: 2387
    • 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: 2387
    • 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