After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754581 - theme: Use font-relative sizes for menu widths
theme: Use font-relative sizes for menu widths
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-09-04 17:25 UTC by Florian Müllner
Modified: 2015-10-15 18:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
theme: Use font-relative sizes for menu widths (2.26 KB, patch)
2015-09-04 17:25 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2015-09-04 17:25:50 UTC
See patch.
Comment 1 Florian Müllner 2015-09-04 17:25:57 UTC
Created attachment 310676 [details] [review]
theme: Use font-relative sizes for menu widths

For menus, it makes more sense to pick a width that fits a reasonable amount
of content rather than a fixed amount of screen estate, so use font-relative
sizes instead of pixel values.
Comment 2 Allan Day 2015-09-25 15:35:51 UTC
If you've put ui-review on this bug in the hope that I'll spend my time testing patches, then I'm going to have to disappoint you: it's not going to happen.
Comment 3 Florian Müllner 2015-09-25 15:45:35 UTC
(In reply to Allan Day from comment #2)
> If you've put ui-review on this bug in the hope that I'll spend my time
> testing patches

I'd like to think that spending time writing explanatory commit messages like in comment #1 would actually make it possible to comment on an issue without fiddling around with code, but maybe not :-(
Comment 4 drago01 2015-09-26 05:45:57 UTC
Review of attachment 310676 [details] [review]:

Looks good to me and definitely makes sense.
Needs to be rebased because of the change from bug 708472 though.
Comment 5 drago01 2015-09-26 11:06:41 UTC
Review of attachment 310676 [details] [review]:

Oh and you shouldn't patch the css directly but the sass files instead otherwise your changes will get lost once someone regenerates the css from sass.
Comment 6 Florian Müllner 2015-09-26 13:06:47 UTC
(In reply to drago01 from comment #5)
> Oh and you shouldn't patch the css directly but the sass files instead

Yes, but that works poorly with git-bz, so I attached the patch with the generated CSS. The actual patch is against gnome-shell-sass of course ...
Comment 7 Allan Day 2015-09-28 11:58:11 UTC
(In reply to Florian Müllner from comment #3)
> (In reply to Allan Day from comment #2)
> > If you've put ui-review on this bug in the hope that I'll spend my time
> > testing patches
> 
> I'd like to think that spending time writing explanatory commit messages
> like in comment #1 would actually make it possible to comment on an issue
> without fiddling around with code, but maybe not :-(

It seems like an obvious improvement. I didn't think that you'd need my review for this!
Comment 8 Florian Müllner 2015-10-15 18:52:02 UTC
Attachment 310676 [details] pushed as f8cc8f1 - theme: Use font-relative sizes for menu widths