Re: Oversize icons in PopupImageMenuItem
- From: Norman L Smith <nls1729 gmail com>
- To: Tim Cuthbertson <tim gfxmonk net>, gnome-shell-list <gnome-shell-list gnome org>
- Subject: Re: Oversize icons in PopupImageMenuItem
- Date: Thu, 28 Jan 2016 08:44:39 -0500
Hello Tim:
$ diff extension.js /tmp/extension.js
1545c1545
< style_class: 'popup-menu-icon'
---
style_class: 'system-status-icon'
The above will fix your problem.
The style class used for the icon of PopupImageMenuItem
changed.
Regards,
Norman
On Thu, 2016-01-28 at 20:16 +1100, Tim Cuthbertson wrote:
Hi all,
I've been using this code to create a menu full of
PopupImageMenuItems
unchanged pretty much since I added an indicator to shellshape, and
in
recent versions of gnome-shell (3.16, maybe even 3.14) the icons got
really big:
https://github.com/timbertson/shellshape/issues/164
The code behind the menu items is:
https://github.com/timbertson/shellshape/blob/61808be19419ddd03d9ec4e
6c216800ee150ce36/src/gjs/indicator.ts#L137
It's pretty straightforward - I'm not adding any specific styles or
anything, just calling the constructor with some text and the name of
an icon. If I use a builtin icon (e.g. "system-users") it displays
the
same, so it's not just my custom icons that are too big.
Anyone know why it's doing this? How can I get back the old behaviour
where the icons were scaled to match the standard height of a
text-only menu item?
Cheers,
- Tim.
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]