decrease switch and icon size in menu
This commit is contained in:
parent
8780e3607b
commit
c531fba30c
2
draw.js
2
draw.js
|
|
@ -1126,7 +1126,7 @@ var DrawingMenu = new Lang.Class({
|
|||
_addSwitchItem: function(menu, label, iconFalse, iconTrue, target, targetProperty) {
|
||||
let item = new PopupMenu.PopupSwitchMenuItem(label, target[targetProperty]);
|
||||
|
||||
item.icon = new St.Icon({ style_class: 'popup-menu-icon blabla' });
|
||||
item.icon = new St.Icon({ style_class: 'popup-menu-icon' });
|
||||
item.actor.insert_child_at_index(item.icon, 1);
|
||||
item.icon.set_gicon(target[targetProperty] ? iconTrue : iconFalse);
|
||||
|
||||
|
|
|
|||
|
|
@ -88,6 +88,14 @@
|
|||
padding-bottom: .37em;
|
||||
}
|
||||
|
||||
.draw-on-your-screen-menu .popup-menu-icon {
|
||||
icon-size: 1.04em; /* default: 1.09 */
|
||||
}
|
||||
|
||||
.draw-on-your-screen-menu .toggle-switch {
|
||||
height: 20px; /* default: 22px */
|
||||
}
|
||||
|
||||
.draw-on-your-screen-menu-separator StLabel {
|
||||
font-size: 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue