You are not logged in.
Hello, guys !
I've been recently thinking if it is possible to change the lenght of Window buttons in panel. I've been searching for solution because, I wanted to free some space in the panel and also, to fit more window buttons. I searched a little in the net and I found a way how to change the lenght of the buttons - http://ubuntuforums.org/showthread.php?t=1893405
style "xfce-tasklist-style"
{
# 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 = 50 # pixels. or whatever size you like
}
class "XfceTasklist" style "xfce-tasklist-style"
This configuration must be added in ~/.gtkrc-2.0 in order to work properly. To change the lenght of window buttons, just edit the value 50, to what you desire.
Here is a photo that displays what I mean - http://s13.postimage.org/osj3li953/Image_example.png
The new lenght in the picture is 147.
I also thought it might be a good idea to add a custom option in Properties menu, so it can be modified easily.
Overall, I think it would be a very good addition in Xfce, especially for people with small displays who want to fit more windows in
Best regards
Nick
Last edited by PaperNick (2013-09-05 15:21:17)
Offline
Hello, guys !
I've been recently thinking if it is possible to change the lenght of Window buttons in panel. I've been searching for solution because, I wanted to free some space in the panel and also, to fit more window buttons. I searched a little in the net and I found a way how to change the lenght of the buttons - http://ubuntuforums.org/showthread.php?t=1893405
style "xfce-tasklist-style" { # 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 = 50 # pixels. or whatever size you like } class "XfceTasklist" style "xfce-tasklist-style"
This configuration must be added in ~/.gtkrc-2.0 in order to work properly. To change the lenght of window buttons, just edit the value 50, to what you desire.
Here is a photo that displays what I mean - http://s13.postimage.org/osj3li953/Image_example.png
The new lenght in the picture is 147.I also thought it might be a good idea to add a custom option in Properties menu, so it can be modified easily.
Overall, I think it would be a very good addition in Xfce, especially for people with small displays who want to fit more windows in
Best regards
Nick
I like the idea, a simple slider like in your linked picture would be an effective and simple means to manipulate the length of the button. Can be placed as an option in the panel settings UI, I think it would make a nice addition.
Offline
[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 522.18 KiB (Peak: 523.02 KiB) ]