Closed
Bug 395565
Opened 18 years ago
Closed 18 years ago
spinner of cocoa has wrong size
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(1 file, 1 obsolete file)
|
3.38 KB,
patch
|
masayuki
:
review+
roc
:
superreview+
roc
:
approval1.9+
|
Details | Diff | Splinter Review |
spinner of cocoa is not getting native control size. Therefore, up/down button rect is not match to the native theme.
this blocks bug 380026, maybe.
Flags: blocking1.9?
Attachment #280232 -
Flags: review?(joshmoz)
| Assignee | ||
Updated•18 years ago
|
Attachment #280232 -
Flags: review?(neil)
| Assignee | ||
Comment 1•18 years ago
|
||
Håkan Waara:
Please use UTF-8 (without BOM) when you write a patch. 'å' is not an ASCII character. Therefore, non-Latin-1 characters cannot be used with your signature.
| Assignee | ||
Comment 2•18 years ago
|
||
er, this is not a rendering bug. the rendering result is correct, but the box sizes are wrong, therefore, the event handling is failed.
Comment 3•18 years ago
|
||
Comment on attachment 280232 [details] [diff] [review]
Patch rv1.0
Wrong Neil, perhaps?
Attachment #280232 -
Flags: review?(neil) → review?(enndeakin)
| Assignee | ||
Comment 4•18 years ago
|
||
you have reviewed it in bug 155053, therefore, I requested to you ;)
Comment on attachment 280232 [details] [diff] [review]
Patch rv1.0
I assume you tested this and it works, but why did you choose "kThemeMetricLittleArrowsWidth"? Is that really the right metric?
Attachment #280232 -
Flags: review?(joshmoz) → review+
Comment 6•18 years ago
|
||
(In reply to comment #5)
> (From update of attachment 280232 [details] [diff] [review])
> I assume you tested this and it works, but why did you choose
> "kThemeMetricLittleArrowsWidth"? Is that really the right metric?
"Little arrows" (in Carbon world) == spinbutton in XUL world, I think?
Updated•18 years ago
|
Attachment #280232 -
Flags: review?(enndeakin) → review+
| Assignee | ||
Comment 7•18 years ago
|
||
I think this patch works fine for me.
http://developer.apple.com/documentation/Carbon/Reference/Appearance_Manager/Reference/reference.html#//apple_ref/doc/c_ref/kThemeMetricLittleArrowsHeight
> kThemeMetricLittleArrowsHeight
>
> The height of a little arrows control.
>
> Available in Mac OS X v10.0 and later.
> kThemeMetricLittleArrowsWidth
>
> The width of a little arrows control.
>
> Available in Mac OS X v10.0 and later.
The little arrows control means:
http://developer.apple.com/documentation/Carbon/Reference/Appearance_Manager/Reference/reference.html#//apple_ref/doc/c_ref/kThemeIncDecButton
> kThemeIncDecButton
>
> Identifies an increment/decrement or "little arrows" button. This button has the appearance of two separate buttons—one containing an upward-pointing triangle and the other containing a downward-pointing triangle—placed back to back. This button should not be confused with the arrow button.
>
> Available in Mac OS X v10.0 and later.
| Assignee | ||
Updated•18 years ago
|
Attachment #280232 -
Flags: superreview?(roc)
Attachment #280232 -
Flags: approval1.9?
spinbuttons {
- height: 24px;
Why are you removing this? Won't this break non-native-theme situations?
| Assignee | ||
Comment 9•18 years ago
|
||
(In reply to comment #8)
> spinbuttons {
> - height: 24px;
>
> Why are you removing this? Won't this break non-native-theme situations?
In my environment, the height returns 21px. 24px is too large. And shouldn't specify themselves when they are creating non-native-theme?
Comment 10•18 years ago
|
||
(In reply to comment #8)
> spinbuttons {
> - height: 24px;
>
> Why are you removing this? Won't this break non-native-theme situations?
>
Pinstripe never supported a non-native-theme situation; Gnomestripe doesn't either. Winstripe is better in this respect, but it has bugs.
But since *aIsOverridable is set to PR_FALSE, the CSS height will be ignored, right? So it won't hurt to leave that line in, and it might help.
| Assignee | ||
Comment 12•18 years ago
|
||
er, o.k. you're right.
Attachment #280232 -
Attachment is obsolete: true
Attachment #280758 -
Flags: superreview?(roc)
Attachment #280758 -
Flags: review+
Attachment #280758 -
Flags: approval1.9?
Attachment #280232 -
Flags: superreview?(roc)
Attachment #280232 -
Flags: approval1.9?
Attachment #280758 -
Flags: superreview?(roc)
Attachment #280758 -
Flags: superreview+
Attachment #280758 -
Flags: approval1.9?
Attachment #280758 -
Flags: approval1.9+
| Assignee | ||
Comment 13•18 years ago
|
||
checked-in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Flags: blocking1.9?
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•