You are not logged in.
Pages: 1
I've been trying to get the tasklist to produce only one row.
https://forum.xfce.org/viewtopic.php?id=11013 seems similar, but the style max-button-size is not a valid property name now that were using gtk3.
What do I need to add to gtk.css to get the tasklist to use a single row of taller buttons equal tot he icon size of the launcher icons (64px in my case)? Or perhaps there is another way to tweak this UI element.
Thanks,
Jason C. Wells
Offline
Hello and welcome.
I've been trying to get the tasklist to produce only one row.
https://forum.xfce.org/viewtopic.php?id=11013 seems similar, but the style max-button-size is not a valid property name now that were using gtk3.
What do I need to add to gtk.css to get the tasklist to use a single row of taller buttons equal tot he icon size of the launcher icons (64px in my case)? Or perhaps there is another way to tweak this UI element.
Thanks,
Jason C. Wells
Try:
.tasklist { -XfceTasklist-max-button-size: 64; }
...in ~/.config/gtk-3.0/gtk.css.
You'll need to restart the panel to see the effect.
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
That behaved as expected. Grazi!
Where does one find the documentation for the "-XfceTasklist-" pre-pended style names?
I actually looked in the source and found where max-button-size is used. Based on the GTK2 comments and the source I thought the GTK3 CSS would follow the same pattern.
Regards,
Jason
Offline
The documentation isn't yet complete (https://docs.xfce.org/xfce/xfce4-panel/tasklist). I've just been converting the old GTK2 stylings (XfceTasklist::max-button-size = 64) to their GTK3 counterparts (-XfceTasklist-max-button-size: 64). Note that there is a slight conversion difference in the syntax. This applies to other properties as well for the other components of Xfce. Assuming the code itself hasn't changed in the migration to GTK3, they should still work.
Unfortunately, the GTK3 inspector doesn't show these so its a matter of reading the code and experimenting,
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
OK. That gives me something to work with as I tweak a few little items that aren't exposed to a configuration dialog.
FWIW, I am coming back to xfce after a long hiatus. I am very pleased to discover that xfce has maintained it's very sensible approach to the desktop.
Regards,
Jason C. Wells
Offline
Pages: 1
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 533.9 KiB (Peak: 534.74 KiB) ]