Icon resize is a good idea?
- Yes, a great one
- No, i dont need it
- I dont care
0 voters
One thing i see is missing on FVWM is an “Auto-resize to fit ?bar/?panel” function. Almost every icon downloaded exist on a hiogh res (like 256x256), and when you asign those icons to a FvwmButton it doesnt fit the button at all. You wind up having to change its res to whatever you want. But that can be a pain if you have a lot of icons or you simply dont feel like resizing them.
A suggestion to the solution would be adding a “ButtonSize” option on the FvwmButton. So you add your icon and if it has higher res than the ButtonSize value, it shrinks to that value. Simple to do, but not that simple to develop (or it would’ve been added already i presume 8) )
An Example:
[code]
DestroyModuleConfig DockBar: *
*DockBar: Colorset 1
*DockBar: geometry XxY+X+Y
…
…
*DockBar: (Icon term_256x256.png, ButtonSize 32x32, Action InvokeTerminal)
In this case the ‘term*.png’ file has a res higher than the specified on ButtonSize (32) so it would shrink from 256 to 32 pixels and fit nicely on the dockbar.[/code]
NOTE: i made this request topic because i didnt see any other like it on the section. Also from reading some posts by Thomas i see that it is not implemented. However, i dont know if it can be worked around (havent tested any workarounds).