Page 1 of 1

Possibility of having the correct aspect for default buttons

Posted: Fri Oct 14, 2016 12:24 am
by Mag
Hello everyone, I am creating an app for macOS but unfortunately I see that there are differences between the appearance of the default buttons of Mac and those created by LC. In particular the text of the blue button is not white like that of the system, and the font is not the one used by the system (best seen in the "Cancel" button).

Does anyone know if there is a way to make them equal?

Re: Possibility of having the correct aspect for default but

Posted: Fri Oct 14, 2016 10:54 am
by richmond62
And why, when the thing appears on Macintosh does the spelling of 'sure" change to "shure"?

Because those are NOT the same message windows from the same stack on 2 machines.

Re: Possibility of having the correct aspect for default but

Posted: Fri Oct 14, 2016 12:52 pm
by Klaus
@Richmond
richmond62 wrote:And why, when the thing appears on Macintosh does the spelling of 'sure" change to "shure"?
I bet just to tease you old nitpicker from Scotland! :D
richmond62 wrote:Because those are NOT the same message windows from the same stack on 2 machines.
Noone said these are BOTH LC dialogs!

@Mag
Sorry, no idea, but in LC >=8 the "native" look on a Mac (and Windows) has really improved... 8)

Re: Possibility of having the correct aspect for default but

Posted: Fri Oct 14, 2016 1:20 pm
by Mag
Thank you Klaus, richmond62 sorry for the typo in the LC stack sample... :oops:

PS
I bet that macOS changed appearance after LC team has improved the "native look"... :wink:

Re: Possibility of having the correct aspect for default but

Posted: Sat Oct 15, 2016 6:54 pm
by richmond62
Here's a way to get started:
whiteDialog.jpg

Re: Possibility of having the correct aspect for default but

Posted: Mon Oct 17, 2016 7:01 pm
by Mag
Thank you richmond

Re: Possibility of having the correct aspect for default but

Posted: Tue Oct 18, 2016 6:04 am
by richmond62
If you want the buttons to use the Macintosh system font
then you should set the textFont of your stack to the Mac system font.