CPButton's sizeToFit method setting height too high
Reported by Joubert | December 21st, 2008 @ 11:15 AM | in 0.7
When creating a new button, and no changes are made to the font used for its title, calling sizeToFit makes the button too high, resulting in a horizontal line at bottom of button (outside, but immediately adjacent to button's edge).
See discussion: http://groups.google.com/group/o...
Comments and changes to this ticket
-
ronin-756 (at lighthouseapp) March 23rd, 2009 @ 09:40 PM
- Tag set to @needtest
Thanks for your bug report. Do you think you could provide us with sample code that illustrates this bug? You could upload a sample AppController.j here or more simply paste it on http://gist.github.com and link it here. It would definitely help to solve it quickly.
-
Joubert March 24th, 2009 @ 10:07 AM
- no changes were found...
-
Joubert March 24th, 2009 @ 10:10 AM
- no changes were found...
-
ronin-756 (at lighthouseapp) April 2nd, 2009 @ 08:24 AM
- Tag changed from @needtest to @acknowledged, cpbutton
Thanks a lot for the test case.
I get this error message on Firefox 3.0.8 with the latest build from the 0.7b branch : [Exception... "'- [CPButton sizeToFit] unrecognized selector sent to instance 0x000a53' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "" data: no]
-
Ross Boucher April 4th, 2009 @ 01:03 PM
- Milestone set to 0.7
- Assigned user set to Francisco Tolmasky
- State changed from new to assigned
size to fit was temporarily removed from the code. francisco will put it back in soon.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.