fix(lib: wibox: layout): fixed ldoc for set_spacing method

This commit is contained in:
actionless 2014-11-08 01:08:26 +01:00
parent 6f992f13b0
commit 7c4010eea3
2 changed files with 4 additions and 2 deletions

View File

@ -147,7 +147,8 @@ function fixed.vertical()
return get_layout("y") return get_layout("y")
end end
-- Add spacing between each layout widgets --- Add spacing between each layout widgets
-- @param spacing Spacing between widgets.
function fixed:set_spacing(spacing) function fixed:set_spacing(spacing)
self._spacing = spacing self._spacing = spacing
self:emit_signal("widget::updated") self:emit_signal("widget::updated")

View File

@ -148,7 +148,8 @@ function flex.vertical()
return get_layout("y") return get_layout("y")
end end
-- Add spacing between each layout widgets --- Add spacing between each layout widgets
-- @param spacing Spacing between widgets.
function flex:set_spacing(spacing) function flex:set_spacing(spacing)
self._spacing = spacing self._spacing = spacing
self:emit_signal("widget::updated") self:emit_signal("widget::updated")