On Thu, June 25, 2009 20:35, Thomas Adam wrote: > 2009/6/25 Jesús Guerrero <i92gu...@terra.es>: > >> Forgive if this is such a simple question but I have little >> experience with pixmaps and how they are handled in fvwm. >> >> I have this deco: >> >> >> >> DestroyDecor Decoration >> AddToDecor Decoration >> + ButtonStyle All -- UseTitleStyle Flat >> + BorderStyle Active Colorset 2 -- HiddenHandles NoInset >> + BorderStyle Inactive Colorset 1 -- HiddenHandles NoInset >> + ButtonStyle 7 Pixmap application-exit.png -- Flat >> + TitleStyle Active Colorset 2 >> + TitleStyle Inactive Colorset 1 >> + TitleStyle Height 32 -- Flat >> >> >> application-exit.png has some transparent parts, and besides that, it's >> a 22x22 image, so there's a lot of room around it. I've set all the >> buttons to use the title style. However instead I see the default grey >> color around the pixmap. Is there a way to overcome that without >> resizing the image to fit the whole height of the title bar? > > Have you not looked at using AdjustedPixmap? If that's not reliable, > just adjust the PNG file to fit the size you want.
Thanks, Thomas, Yes, I've tried, but in the places where the png is transparent (square icons are rare nowadays) I can still see the grey color. Not a big deal, this is easy to automate using imagemagick, but I was just wondering if fvwm was capable of this not to reinvent the wheel. -- Jesús Guerrero -- Jesús Guerrero