Forum > Cocoa
[Solved] Buttons are not fully visible on AutoSized panel
(1/1)
AlexTP:
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.
AlexTP:
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:
Issue 1: Buttons look OK in Mojave 10.14.6 - see pic.
Issue 2: Do not experience it (tried many times).
AlexTP:
@trev,
your picture shows 1pixel cropped at the bottom of buttons.
AlexTP:
Solved after I set the BorderSpacing.Bottom=6 for buttons.
Navigation
[0] Message Index