doc: Add a stack layout default screenshot
This commit is contained in:
parent
163748c782
commit
ab40a342af
|
@ -8,6 +8,7 @@
|
|||
-- The indices are going from 1 (the bottom of the stack) up to the top of
|
||||
-- the stack. The order can be changed either using `:swap` or `:raise`.
|
||||
--
|
||||
--@DOC_wibox_layout_defaults_stack_EXAMPLE@
|
||||
-- @author Emmanuel Lepage Vallee
|
||||
-- @copyright 2016 Emmanuel Lepage Vallee
|
||||
-- @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.stack
|
||||
}
|
Loading…
Reference in New Issue