You are not logged in.
Pages: 1
Hello,
I'm creating a drop-down launcher with 3 container items in it and I'm having trouble trying to set the text size, it look very small, how to setting text size to increase size for menu section? Example: "To Do 1" "To Do 2" "To Do 3" how can I set them increase text size?
Thank you!
Last edited by kindperson1 (2020-06-04 23:29:43)
Offline
Hello and welcome.
Assuming the GTK3 version of xfce4-panel (version 4.14 or greater), the following tweak in ~/.config/gtk-3.0/gtk.css will affect the popup menu font size of multiple launcher widgets:
#launcher-14 window box label { font-size: 12pt; }
...change "-14" to be the actual number of your launcher ID which you can get by hovering over the widget in the Panel Properties > Items tab, as well as the font size that you want.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
It's working now that's so cool but what about the icon beside the text?
#launcher-14 window box label { font-size: 12pt; icon-size: 12px; }
adding icon-size: 12px; not working.
Offline
"icon-size" is not a valid parameter.
Icon sizing, in Xfce/GTK3, is a complicated matter. There is no easy way that I am aware of to properly size icons. Perhaps the size is limited in xfce4-panel. You could try something like this:
#launcher-14 window box image { -gtk-icon-transform: scale(1.5); }
this will upscale the icon, but unfortunately, it will also blur it.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks ToZ,
but what about the small "arrow" " v " thing, what the exact ID for the arrow? I want to edit the arrow.
#launcher-arrow
this changes effect the other arrows on panel too, can you tell what's the ID for this arrow please,
#launcher-arrow #launcher1
did not work, need to find the number ID for this arrow.
Last edited by kindperson1 (2020-06-23 08:49:35)
Offline
I want to edit the arrow.
https://i.imgur.com/yLlV1hb.png
#launcher-arrow
this changes effect the other arrows on panel too, can you tell what's the ID for this arrow please,
#launcher-arrow #launcher1
did not work, need to find the number ID for this arrow.
You can reach the arrow via:
#launcher-1 .toggle
...however, there isn't much you can do with it - it is drawn onto aa button widget. You can change the colour:
#launcher-1 .toggle { color: red; }
...naturally, change the "#launcher-1" to match the ID of the widget.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.023 seconds, 7 queries executed - Memory usage: 540.09 KiB (Peak: 541.38 KiB) ]