refactor(w.l.fixed): Fix line length

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
Lucas Schwiderski 2021-07-13 22:33:32 +02:00
parent a938a1b807
commit 08c893fff9
No known key found for this signature in database
GPG Key ID: AA12679AAA6DF4D8
1 changed files with 5 additions and 2 deletions

View File

@ -102,8 +102,11 @@ function fixed:layout(context, width, height)
-- Add the spacing widget (if needed)
if index < widgets_nr and spacing_widget then
table.insert(result, base.place_widget_at(
spacing_widget, is_x and (x - spoffset) or x, is_y and (y - spoffset) or y,
is_x and abspace or w, is_y and abspace or h
spacing_widget,
is_x and (x - spoffset) or x,
is_y and (y - spoffset) or y,
is_x and abspace or w,
is_y and abspace or h
))
end
end