Am Do, dem 27. Feb 2003 um 13:15:24 +0000, schrieb Mikhael Goikhman:
> In 2.4.x or greater use:
>
> Resize bottomright 90 90
Unfortunately this is impractical for me since it doesn't toggle
the maximization flag. Furthermore the values "90 90" of the
Resize-command are interpreted as a position and not the width
and height of the resized/maximized window.
> In 2.5.x you can do it even better by toggling the maximization flag too:
>
> ResizeMaximize bottomright 90 90
I don't know about that since I don't use version 2.5.x but I
assume the values are interpreted the same way. Thus the window
is resized until the bottom right corner of the window is at a
position 90% from the left and 90% from the top of the screen.
I'd like to have something like the "growright/growdown"-option of
the "Maximize"-Function that doesn't stop when it runs into an
obstacle but keeps maximizing the window until the window has a
certain width and height, e.g. 90%, 90%.
But I gues that's not possible right now.
> Without taking a look at the code, I see that without Geometry the pager
> page (the smallest rectangle) is assumed to be the 1/32 size of the screen.
> You may change this constant 32 using DeskTopScale. So when you leave out
> one dimension it is taking as if you would not specify the geometry at all.
>
> If my guess is right and you want to get a 4x3 <width>x<height> ratio and
> specify only height, you may do the math yourself. With DesktopSize 2x2
> and only one desk in a pager and a label font of 10 pixels, the page size
> could be 36x27 (4x3 ratio) and the pager geometry would be 73x66-0+0
> (73 = 36 * 2 + 1 separator; 66 = 27 * 2 + 1 separator + 11 label).
>
> I don't know whether the current behaviour is what is originally intended.
> But I think a good solution to this is to have a new option KeepAspect
> that would force the page size to the same aspect ratio as the screen.
> Patches to the cvs version are welcome.
*FvwmPager: Geometry geometry
Completely or partially specifies the pager windows
location and geometry, in standard X11 notation.
In order to maintain an undistorted aspect ratio,
you might want to leave out either the width or
height dimension of the geometry specification
After reading this on the manpage of FvwmPager would say the
current behaviour is probably not the behaviour that was originally
intended. So a "KeepAspect"-option would be really nice.
--
Guido Berhoerster ich_at_guido-berhoerster.org
http://www.guido-berhoerster.org/
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Feb 27 2003 - 09:56:54 GMT