awful.widget: Don't use a resizable imagebox
commitab6cd898c13fb4b49efcad49931fc48d0268cb42
authorUli Schlachter <psychon@znc.in>
Wed, 26 Aug 2009 18:28:43 +0000 (26 20:28 +0200)
committerJulien Danjou <julien@danjou.info>
Thu, 27 Aug 2009 09:08:14 +0000 (27 11:08 +0200)
tree025f2eaf9a319042f6d5f1d38fa6d04a26010953
parentac60bbd14734f3ac01562455d8034686fb3401bd
awful.widget: Don't use a resizable imagebox

awful.widget.graph and progressbar both create an imagebox. The default is
resize = true which means the image is scaled up inside the wibox if
:set_height() is used.

Setting widget.resize = false avoids this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
lib/awful/widget/graph.lua.in
lib/awful/widget/progressbar.lua.in