doc: Add a flex layout default screenshot
This commit is contained in:
parent
150026690c
commit
7fa56cb94c
|
@ -1,4 +1,6 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--
|
||||||
|
--@DOC_wibox_layout_defaults_flex_EXAMPLE@
|
||||||
-- @author Uli Schlachter
|
-- @author Uli Schlachter
|
||||||
-- @copyright 2010 Uli Schlachter
|
-- @copyright 2010 Uli Schlachter
|
||||||
-- @release @AWESOME_VERSION@
|
-- @release @AWESOME_VERSION@
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
local generic_widget = ... --DOC_HIDE
|
||||||
|
local wibox = require("wibox") --DOC_HIDE
|
||||||
|
|
||||||
|
return --DOC_HIDE
|
||||||
|
wibox.widget {
|
||||||
|
generic_widget( "first" ),
|
||||||
|
generic_widget( "second" ),
|
||||||
|
generic_widget( "third" ),
|
||||||
|
layout = wibox.layout.flex.horizontal
|
||||||
|
}
|
Loading…
Reference in New Issue