Fix wibox.layout.flex:fit() (FS#1126)
commit8af54130d6f5b025999b5c209e96c2e8472270cf
authorUli Schlachter <psychon@znc.in>
Sun, 24 Mar 2013 21:32:53 +0000 (24 22:32 +0100)
committerUli Schlachter <psychon@znc.in>
Sun, 24 Mar 2013 21:32:53 +0000 (24 22:32 +0100)
tree7d23d87cfe54924cfa362a467b439869bcad78df
parente7912fc2a8ec74b25c5de28ed85cbfe3654c9b1b
Fix wibox.layout.flex:fit() (FS#1126)

The flex:fit() function was calling the fit() function of the widgets it
contained with too large values, trying to hand out more space than it had
available. This resulted in more space being requested than was available and
some weird layout issues resulted.

Signed-off-by: Uli Schlachter <psychon@znc.in>
lib/wibox/layout/flex.lua.in