On 09 Dec 2002 09:10:08 +0800, dion king wrote:
>
> I want to use a pixmap file in a button and the size of
> button is fixed.
> However the icon is a little bigger so only a part of it can
> be show on the button.
> Then how to zoom it ?
I suppose you speak about "ButtonStyle n Pixmap /your/image.xpm"
and not "ButtonStyle n MiniIcon".
1) You may enlarge the TitleStyle Height value for the image to fit.
2) You may zoom and save the image using gimp or other image editor.
3) In recent 2.5.5+ you may zoom an image if you use colorsets.
Colorset 9 AspectPixmap /your/image.png
ButtonStyle 7 Colorset 9
# these 2 are not needed for you, just to make button 7 visible
Style * Button 7
Mouse 1 7 A Iconify
Regards,
Mikhael.
--
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 Mon Dec 09 2002 - 04:26:52 GMT