Allow window buttons to take up the entire available space in vertical panel
Submitted by elmanuelito
Created attachment 4084 Screenshots of the version 4.8.6 and 4.8.6 with the workaround/patch
I'm using xfce4-panel 4.8.6-1 within xfce220.127.116.11 on debian wheezy.
I'm surprised to see that the buttons of the tasklist are all of the same height when the panel is used vertically. In previous versions (4.6 and below) the buttons were spreading over the entire height of the tasklist.
I enclose one picture made of two screenshots to illustrate the two situations side by side.
I personally would like to have the choice between the two options (fixed height, spreading over the whole area), and even better, being able to set the maximum height/minimum height of the button.
I believe this problem is known by the developers because by using some part of the code from xfce4-panel-4.9 I manage to make the panel behave the way I wanted. I'm enclosing my "workaround" in the form of a patch file, but it is not a proper patch as it breaks the behavior when the panel is horizontal.
I thought I could share this workaround here for those who were in the same situation than me, and express the need for this functionality in further releases.