My first question concerns the way FVWM draws menus near the right edge of the
display. I use FVWM-style menus -- submenus appear just as the pointer touches
a menu entry. Normally, a submenu appears to the right of its parent. At the
right edge of the display, however, things get crowded; the submenu appears
directly on top of its parent. This can be a problem, especially when, as in my
setup, there exist more than two levels of submenus. Could FVWM be changed so
that, at the right edge of the display, a submenu appears to the left of its
parent?
My second question addresses a long-existing problem: the method by which
FvwmButtons arranges buttons of various sizes. In this instance, I place a menu
button, an xload, an xclock, and several "switch to desk X" buttons in one
FvwmButtons window. Here's my setup:
*FvwmButtonsFore DEFAULT_FOREGROUND
*FvwmButtonsBack DEFAULT_BACKGROUND
*FvwmButtonsGeometry 650x40+0-0
*FvwmButtonsRows 2
*FvwmButtonsFont DEFAULT_TITLE_FONT
*FvwmButtons(1x2) FVWM xlogo16.xpm menu main-menu
*FvwmButtons(5x2) - - swallow "xloadFvwm" exec xload -name
xloadFvwm &
*FvwmButtons(1x2) - - swallow "xclockFvwm" exec xclock
-name xclockFvwm &
*FvwmButtons Main - desk 0 0
*FvwmButtons WebSrv - desk 0 1
*FvwmButtons Browse1 - desk 0 2
*FvwmButtons Browse2 - desk 0 3
*FvwmButtons Notes - desk 0 4
*FvwmButtons Post-Its - desk 0 5
*FvwmButtons WebLog - desk 0 6
*FvwmButtons PrxyLog - desk 0 7
*FvwmButtons Misc1 - desk 0 8
*FvwmButtons Misc2 - desk 0 9
*FvwmButtons Misc3 - desk 0 10
*FvwmButtons Mail - desk 0 11
DEFAULT_BACKGROUND, DEFAULT_FOREGROUND, and DEFAULT_TITLE_FONT are M4 macros.
The above configuration produces the following look:
+------+-----------+------+----+----+----+----+----+----+
|menu |xload xload|xclock|desk|desk|desk|desk|desk|desk|
| |xload xload|xclock+----+----+----+----+----+----+
|button|xload xload|xclock|desk|desk|desk|desk|desk|desk|
+------+-----------+------+----+----+----+----+----+----+
Here's the problem: I want to put xclock at the right side of the window, so it
all looks like this:
+------+-----------+----+----+----+----+----+----+------+
|menu |xload xload|desk|desk|desk|desk|desk|desk|xclock|
| |xload xload+----+----+----+----+----+----+xclock|
|button|xload xload|desk|desk|desk|desk|desk|desk|xclock|
+------+-----------+----+----+----+----+----+----+------+
I've had no success yet. If I take the logical approach, i.e., move the line
referencing "xclockFvwm" to the end of the FvwmButtons list, I end up with this
arrangement:
+------+-----------+----+----+----+----+----+-----+----+
|menu |xload xload|desk|desk|desk|desk|desk|desk |desk|
| |xload xload+----+----+----+----+----+-----+----+
|button|xload xload|desk|desk|desk|desk|desk|clock| |
+------+-----------+----+----+----+----+----+-----+----+
Nothing exists in the lower-right corner. FvwmButtons ignores the size
specification for xclock, "(1x2)". I've tried using silly sizes like "(10x2)",
but FvwmButtons just puts more "desk" buttons in the top row, and leaves xclock
at the bottom in a 10x1 size button.
Ideas, anyone? I've been scratching my head over this for a bit, but I suspect
the problem lies in FvwmButtons.
Chris Taylor / My views do not represent \ PGP public key available
shaggy_at_ctron.com \ those of Cabletron. / via keyserver or request
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Feb 22 1996 - 09:35:10 GMT