I always used “MenuStyle * VerticalItemSpacing 0 0”, so never noticed this before, but when I use another values, for example “VerticalItemSpacing 10 10” the text does not align in the center of the icons. It, instead, keeps showing in this fashion:
----------------------
| \ / |
| X |
| / \ Text |
----------------------
| \ / |
| X |
| / \ Text |
----------------------
And I would like:
----------------------
| \ / |
| X Text |
| / \ |
----------------------
| \ / |
| X Text |
| / \ |
----------------------
Is there any way to align the text without giving the font a very huge size?
This is nothing critical for me, I’m just curious if a so simple option is just missing.
Cheers and thanks.
EDIT: Something more about menus
I was doing some fine tuning when I decided to do with the rclick menu of my FvwmIconMan the same that I do with the Fvwm button that I have to show the menu: adjust the geometry a bit with “Rectangle”. So I did this:
...
*FvwmIconMan: Action Mouse 3 A sendcommand "Popup menu_WindowOps Rectangle +$[pointer.cx]+$[margin.t] 0 0m"
...
$[margin.t] is the top margin, that I use to set some things, like the panels geometry the EWMHStrut geometry and some other things. Anyway, that works well and is not an issue. The menu aligns ok in the y axis, just where my panels ends.
The problems is about $[pointer.x]. It is supposed to hold to current x coordinate of the cursor. The menu aligns ok on the y-axis, as said before, but it takes some arbitraty position in the x-axis (concretely, the position that the cursor had when entered the FvwmIconMan.
I realised that, and then changed the variable to $[pointer.wx], and that works better, but only to a certain limit. After some research I discovered that it work ok for the windows IN THE CURRENT PAGE. And there’s a curious thing that I will try to explain.
Imagine a 3x2 layout (wich is what I use). Imagine also that I have the following programs on each page:
-------------
| a | b | c |
-------------
| d | e | f |
-------------
Ok, I go to the page (0, 2), which is the second page on the upper row, where the program ‘b’ resides. If I rclick on a task on THAT PAGE OR A PAGE IN THE SAME COLUMN then the thing is as espected. The menu opens honoring both variables and it is right under my cursor, and just next to the bottom line of the main panel where the FvwmIconMan is swallowed.
But if I click on a task outside that column then the things goes weird and the menu is displayed like if $[pointer.x] was -0 or +0. The thing seems to be totally arbitrary.
I never used that variable so I don’t know if that is not the real meaning of the variable. If it is, then I think there is a bug here. I also tried $[pointer.cx], with same results as $[pointer.wx].