awesome/lib/wibox/layout
Uli Schlachter db00145406 wibox.layout.base.fit_widget: Enforce sane width and height
Previously, odd things could happen if a widget was getting fitted into a
negative width or, even worse, width being NaN (not a number)!

This can e.g. happen due to a margin layout which doesn't get enough space to
even draw the margin that it is supposed to add.

Fix this by enforcing a minimum value of 0 for the width and height that a
widget gets fitted into.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-03-23 17:48:26 +01:00
..
align.lua.in Added Comments 2014-03-13 12:11:20 +01:00
base.lua.in wibox.layout.base.fit_widget: Enforce sane width and height 2014-03-23 17:48:26 +01:00
constraint.lua.in wibox: Add widget geometry cache 2013-08-21 12:26:47 +02:00
fixed.lua.in wibox.layout.fixed: Fix fill space 2013-10-03 15:44:45 +02:00
flex.lua.in Fixed Flex Layout Fit Behavior 2014-03-13 12:05:50 +01:00
init.lua.in wibox.layout: add a new constraint layout 2013-01-05 23:05:30 +01:00
margin.lua.in wibox.layout.margin: Add margins color parameter 2014-01-20 17:28:04 +01:00
mirror.lua.in wibox: Add widget geometry cache 2013-08-21 12:26:47 +02:00
rotate.lua.in wibox: Add widget geometry cache 2013-08-21 12:26:47 +02:00