Closed
Bug 941211
Opened 12 years ago
Closed 12 years ago
Customize palette looks bad with bigger GTK font size: text under tools does not fit, bottom parts are hidden
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
VERIFIED
FIXED
Firefox 29
People
(Reporter: Aleksej, Assigned: Gijs)
References
(Blocks 2 open bugs)
Details
(Keywords: access, Whiteboard: [Australis:P2][bugday-20131120])
Attachments
(2 files, 1 obsolete file)
49.79 KB,
image/png
|
Details | |
3.83 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
My font size for GTK apps is 16-18.
In 2013-11-20-03-02-02-mozilla-central-firefox-28.0a1.en-US.linux-x86_64's customize mode ("Customize and Control Nightly" → "Customize"), the palette's icon captions do not cope with that, see screenshot.
Updated•12 years ago
|
Blocks: australis-merge
![]() |
Reporter | |
Comment 1•12 years ago
|
||
With font size 17 and above, the captions are not visible at all.
Updated•12 years ago
|
Blocks: australis-cust
Assignee | ||
Updated•12 years ago
|
Whiteboard: [bugday-20131120] → [Australis:P2][bugday-20131120]
![]() |
Reporter | |
Comment 2•12 years ago
|
||
The palette also has a severe min-width, apparently based on the "More Tools to Add to the Menu and Toolbar" text. With font size 18 and the window size Nightly chooses at start, the "Customize and Control Nightly" button does not fit the window.
Comment 3•12 years ago
|
||
We probably shouldn't use the system font size for the icon labels.
Comment 4•12 years ago
|
||
(In reply to Justin Dolske [:Dolske] from comment #3)
> We probably shouldn't use the system font size for the icon labels.
This doesn't seem right. Why does stuff get cut off vertically in the first place?
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #4)
> (In reply to Justin Dolske [:Dolske] from comment #3)
> > We probably shouldn't use the system font size for the icon labels.
>
> This doesn't seem right. Why does stuff get cut off vertically in the first
> place?
Because of:
http://hg.mozilla.org/mozilla-central/annotate/f99c42bb080e/browser/base/content/browser.css#l939
We could make this a calc expression of a fixed pixel value for the icon/widget representation, plus an em value for the text? It should ideally stay the same for all the items, just like in the menu panel, in order for the drag animation code to work correctly...
Assignee | ||
Comment 6•12 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #4)
> (In reply to Justin Dolske [:Dolske] from comment #3)
> > We probably shouldn't use the system font size for the icon labels.
>
> This doesn't seem right. Why does stuff get cut off vertically in the first
> place?
And also because the icons in the menupanel and palette are sized in em, which will depend on OS font size. We should stop doing that. I'll try and come up with a comprehensive patch.
Assignee | ||
Comment 7•12 years ago
|
||
So I made this on OS X. Now icons actually use 32px instead of 29, and look much better, too. I've basically switched us to use px for icons, em for widths, and a combination for height (to incorporate the height of the icon and that of the text, the latter of which might change depending on system font size). Generally, this seems to work excellently, although of course things will start going pear-shaped if you have such a small font setting that 7em is smaller than the icon and its margin (40px, so a font-size of less than 6px). I think we can live with that. I'll doublecheck this solves the GTK issue in a bit and then request review.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•12 years ago
|
||
I tweaked the height of these items, because they are far clumsier than they need to be at the moment, and verified that this fixes the GTK issue. Jared, what do you think?
Attachment #8357800 -
Flags: review?(jaws)
Assignee | ||
Updated•12 years ago
|
Attachment #8357791 -
Attachment is obsolete: true
Updated•12 years ago
|
Attachment #8357800 -
Flags: review?(jaws) → review+
Assignee | ||
Comment 9•12 years ago
|
||
Whiteboard: [Australis:P2][bugday-20131120] → [Australis:P2][bugday-20131120][fixed-in-fx-team]
Comment 10•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P2][bugday-20131120][fixed-in-fx-team] → [Australis:P2][bugday-20131120]
Target Milestone: --- → Firefox 29
Comment 11•12 years ago
|
||
(In reply to [:Aleksej] from comment #0)
> My font size for GTK apps is 16-18.
Aleksej, could you please verify this?
Flags: needinfo?(deletesoftware+moz)
![]() |
Reporter | |
Comment 12•12 years ago
|
||
Verified that the icons are not huge in 2014-01-22-03-05-21-mozilla-central-firefox-29.0a1.en-US.linux-x86_64.
Status: RESOLVED → VERIFIED
![]() |
Reporter | |
Updated•12 years ago
|
Flags: needinfo?(deletesoftware+moz)
Comment 13•12 years ago
|
||
ty
You need to log in
before you can comment on or make changes to this bug.
Description
•