doc: Add a flex layout default screenshot

This commit is contained in:
Emmanuel Lepage Vallee 2016-05-25 15:19:18 -04:00
parent 150026690c
commit 7fa56cb94c
2 changed files with 12 additions and 0 deletions

View File

@ -1,4 +1,6 @@
---------------------------------------------------------------------------
--
--@DOC_wibox_layout_defaults_flex_EXAMPLE@
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @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.flex.horizontal
}