On Sat, 9 Nov 2002, Dominik Vogt wrote:

> On Sat, Nov 09, 2002 at 04:06:04PM -0500, Dan Espen wrote:
> > Marcus Lundblad <[EMAIL PROTECTED]> writes:
> > > On the fvwm home page there is a section for example buttons where you can
> > > contribute button examples.
> > > So I made an example using the new pixel offset feature:
> > > 
> > > --------------------------------------------------------------
> > > 
> > > # MWM button styles
> > > 
> > > ButtonStyle 1 3    [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
> > > AddButtonStyle 1 3 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
> > > ButtonStyle 2 3    [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
> > > AddButtonStyle 2 3 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
> > > ButtonStyle 4 3    [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
> > > AddButtonStyle 4 3 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
> > > 
> > > --------------------------------------------------------------
> > > 
> > > This features a big square that's fixed 3 pixels from edge of the button
> > > (button 2), a small square centred and 4 by 4 pixels, and a bar vertically
> > > centred 4 pixels thick and filling the space horisontally with a 3 pixel
> > > space on each side.
> > > 
> > > Ofcourse this requires the latest CVS version for this to work, so perhaps
> > > it's not yet ready for the web...
> 
> Actually, the offset patch gets problematic when the window gets
> very small.  I don't know what to do about it, though.

Yes. Actually I only thought about the "static" size of the buttons
(determined by font size typically) and didn't think about the fact that
buttons can shrink horizontally. Maybe there could be an option to set the
minimum size of windows so that the buttons "fits" (mwm does something
like this, I tried and I could make an xterm less than 32 pixels wide
there. This might be hardcoded though...)
A problem could be that buttons can be added/removed dynamically.

//Marcus

> 

> Bye
> 
> Dominik ^_^  ^_^
> 
>  --
> Dominik Vogt, [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> --
> Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
> body of a message to [EMAIL PROTECTED]
> To report problems, send mail to [EMAIL PROTECTED]
> 

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to