Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bensonang

macrumors newbie
Original poster
Mar 12, 2010
2
0
I'm currently using NSRunAlertPanel to display a dialog.
It works perfectly in Leopard and Snow Leopard. In Tiger, it also works except for one thing, the icon.

In Leopard and Snow, the icon i used for the App is displayed on the left side of the strings. This is the expected behavior.

However, in Tiger, there is a big margin on the left side of the strings, the icon is missing but the gap for the icon is there.

Here's how i used the code:

NSRunAlertPanel("My Application", "My Application's string contents", "OK", nil, nil);

I really need to know why this happens. I did not add any code for the icon to appear in leopard and snow, but it's there.

Thanks.
 
Have you confirmed this on a second 10.4 machine?

You could see if switching to NSAlert makes a difference.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.