wibox.layout.flex: Update the property documentation.
This commit is contained in:
parent
285a8b23ff
commit
13b792e42e
|
@ -38,7 +38,7 @@ local flex = {}
|
||||||
|
|
||||||
--- From `wibox.layout.fixed`.
|
--- From `wibox.layout.fixed`.
|
||||||
-- @property fill_space
|
-- @property fill_space
|
||||||
-- @tparam boolean fill_space
|
-- @tparam[opt=true] boolean fill_space
|
||||||
-- @propemits true false
|
-- @propemits true false
|
||||||
-- @hidden
|
-- @hidden
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ local flex = {}
|
||||||
--@DOC_wibox_layout_flex_spacing_widget_EXAMPLE@
|
--@DOC_wibox_layout_flex_spacing_widget_EXAMPLE@
|
||||||
--
|
--
|
||||||
-- @property spacing_widget
|
-- @property spacing_widget
|
||||||
-- @tparam widget spacing_widget
|
-- @tparam[opt=nil] widget|nil spacing_widget
|
||||||
-- @propemits true false
|
-- @propemits true false
|
||||||
-- @interface layout
|
-- @interface layout
|
||||||
|
|
||||||
|
@ -102,7 +102,9 @@ local flex = {}
|
||||||
--@DOC_wibox_layout_flex_spacing_EXAMPLE@
|
--@DOC_wibox_layout_flex_spacing_EXAMPLE@
|
||||||
--
|
--
|
||||||
-- @property spacing
|
-- @property spacing
|
||||||
-- @tparam number spacing Spacing between widgets.
|
-- @tparam[opt=0] number spacing Spacing between widgets.
|
||||||
|
-- @propertyunit pixel
|
||||||
|
-- @negativeallowed true
|
||||||
-- @propemits true false
|
-- @propemits true false
|
||||||
-- @interface layout
|
-- @interface layout
|
||||||
|
|
||||||
|
@ -200,7 +202,9 @@ end
|
||||||
--That is, maximum width for horizontal and maximum height for vertical.
|
--That is, maximum width for horizontal and maximum height for vertical.
|
||||||
--
|
--
|
||||||
-- @property max_widget_size
|
-- @property max_widget_size
|
||||||
-- @tparam number max_widget_size
|
-- @tparam[opt=nil] number|nil max_widget_size
|
||||||
|
-- @propertytype nil No size limit.
|
||||||
|
-- @negativeallowed false
|
||||||
-- @propemits true false
|
-- @propemits true false
|
||||||
|
|
||||||
function flex:set_max_widget_size(val)
|
function flex:set_max_widget_size(val)
|
||||||
|
|
Loading…
Reference in New Issue