You are not logged in.
Pages: 1
I am running Xfce 4.18.0
I have "Window buttons" on my panel, and I ticked "Show button labels".
I want those labels to be wider, so I will see more text. How to do that?
Last edited by shmu26 (2023-01-05 18:28:45)
Offline
Have a read through https://docs.xfce.org/xfce/xfce4-panel/tasklist and pay special attention to the note. Just tested it now and it did work for me by increasing the "max-button-length" value, so YMMV.
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
In
~/.config/gtk-3.0/gtk.css
I added the following text
# The maximum length of a button before the label ellipsizes.
# When this value is set to -1 the button will expand to the
# entire available space.
* { -XfceTasklist-max-button-length: 500; }
but it doesn't have an effect on the button size
Offline
Did you restart the panel?
xfce4-panel -r
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
I did that restart command, and I also tried logging out and then back in.
I saw the note on the wiki page, that it might not work as expected, but I posted my results anyway, on the chance that I just did it wrong...
Offline
Try this version instead:
.tasklist { -XfceTasklist-max-button-length: 500; }
...and restart the panel.
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 did it.
Offline
Interesting… How do you explain it ToZ? I guess it's better and the doc should be updated anyway.
Offline
@Tamaranch, I've run into an issue before when using the wildcard in gtk.css. I'm not sure why it works sometimes and other times it doesn't. When you specifically target the widget, it works more consistently.
I'll update the documentation.
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
Offline
Pages: 1
[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 547.33 KiB (Peak: 548.17 KiB) ]