Lazarus

Programming => Widgetset => Cocoa => Topic started by: trev on July 19, 2019, 03:06:03 pm

Title: [SOLVED] ShowMessage dialogs - wrong icon
Post by: trev on July 19, 2019, 03:06:03 pm
The ShowMessage dialog appears with the macOS default generic icon rather than the application icon. See attached pic.
Title: Re: ShowMessage dialogs - wrong icon
Post by: skalogryz on July 19, 2019, 03:21:39 pm
is Application icon specified in Icon.plist ?
Title: Re: [SOLVED] ShowMessage dialogs - wrong icon
Post by: trev on July 20, 2019, 01:42:42 am
I could have sworn that I had specified the icon file in the Resources/Info.plist file, but it seems that the app bundle has been regenerated at some point and it was not there.

Adding the Icon File key with the value MyApp.icns (located in Resources directory) fixed it.

Thanks again Dmitry.
TinyPortal © 2005-2018