Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Default button surrounded by black square for Panther, not Jaguar (RESOLVED)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default button surrounded by black square for Panther, not Jaguar (RESOLVED)



Hello,

Through the help of those on the list, I have gotten to the bottom of the issue. As a brief recap, I had placed a non-editable text field and button along side of one another using InterfaceBuilder. The button was made the default at launch. At launch, the button was surrounded by a black square. This square appeared only in Panther, not Jaguar.

It appears that there is some kind of bug. Apple's HIG call for 8 pixels between a text field and adjacent button, and this is the distance at which they will line up in InterfaceBuilder. This proximity causes a black square around the button in Panther. Moving the text field 1 additional pixel away from the button seems to solve the problem.

It is important to note that the text field is not editable. An editable text field does not exhibit this problem when placed at the 8 pixel recommended distance.

I am writing up this work-around in the hopes that someone at a later date with the same problem may find it searching the archives -- provided their Web search of the Cocoa-Dev list doesn't time out! (Anyone have a work-around for that?)

Thanks to everyone who offered their help!

Mario

=======================================================
Mario Diana Mobile: 845-380-8428
50 Forest Drive Home: 845-221-3989
Poughquag, NY 12570 Email: email@hidden
=======================================================
Programmer - Web development, Java, XML, LAMP, Mac OS X
=======================================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.