Closed Bug 415161 Opened 17 years ago Closed 17 years ago

GTK drop-down arrows are misaligned in buttons

Categories

(Firefox :: Theme, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3 beta4

People

(Reporter: ori, Assigned: twanno)

Details

Attachments

(2 files, 1 obsolete file)

The native GTK drop-down arrow isn't drawn in the center of buttons. It's off to the right by a few pixels. It's noticable in the back-forward drop-down, the tab strip, and the location bar. Using the Ubuntu Human theme, the tab strip one has 10 pixels on the left side and 7 on the right. I'm not sure about the location bar since it's 5 on the left side and 5 on the right. Centering cannot be achieved with a symmetric arrow icon. (Maybe that's a different bug).
Filed bug 415163 about the location bar button mentioned above.
Attached patch patch (obsolete) — Splinter Review
Remove the margins set by the not displayed label and image in the toolbar buttons where there is only an arrow: the back-forward-dropmarker and the tabs-alltabs-button toolbar buttons.
Assignee: nobody → twanno
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #302731 - Flags: review?(rflint)
Comment on attachment 302731 [details] [diff] [review] patch >Index: browser/themes/gnomestripe/browser/browser.css >+#back-forward-dropmarker > .toolbarbutton-image, >+#back-forward-dropmarker > .toolbarbutton-text { >+ margin: 0px; >+} s/image/icon/ and both of these are already display: none, so this isn't necessary. r=me sans the above change - sorry for the delay!
Attachment #302731 - Flags: review?(rflint) → review+
Attached patch patch v2Splinter Review
Addressing review comment.
Attachment #302731 - Attachment is obsolete: true
Attachment #305021 - Flags: approval1.9?
Comment on attachment 305021 [details] [diff] [review] patch v2 a1.9+=damons
Attachment #305021 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Checking in browser/themes/gnomestripe/browser/browser.css; /cvsroot/mozilla/browser/themes/gnomestripe/browser/browser.css,v <-- browser.css new revision: 1.184; previous revision: 1.183 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 beta4
The arrow is still little bit moved to the right side of button.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: