doc: Add a fixed layout default screenshot

This commit is contained in:
Emmanuel Lepage Vallee 2016-05-25 15:17:16 -04:00
parent 5ba7af2be2
commit 150026690c
2 changed files with 12 additions and 0 deletions

View File

@ -1,4 +1,6 @@
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
--
--@DOC_wibox_layout_defaults_fixed_EXAMPLE@
-- @author Uli Schlachter -- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter -- @copyright 2010 Uli Schlachter
-- @release @AWESOME_VERSION@ -- @release @AWESOME_VERSION@

View File

@ -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.fixed.horizontal
}