doc: Add an align layout default screenshot
This commit is contained in:
parent
f1ea1c04dd
commit
5ba7af2be2
|
@ -1,4 +1,6 @@
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
--
|
||||||
|
--@DOC_wibox_layout_defaults_align_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.align.horizontal
|
||||||
|
}
|
Loading…
Reference in New Issue