doc: Add a `mirror` default screenshot

This commit is contained in:
Emmanuel Lepage Vallee 2016-05-24 13:34:25 -04:00
parent ab0a9a077e
commit 46c83b4001
2 changed files with 21 additions and 0 deletions

View File

@ -1,4 +1,6 @@
---------------------------------------------------------------------------
--
--@DOC_wibox_container_defaults_mirror_EXAMPLE@
-- @author dodo
-- @copyright 2012 dodo
-- @release @AWESOME_VERSION@

View File

@ -0,0 +1,19 @@
--DOC_HIDE_ALL
local wibox = require("wibox")
return {
text = "Before",
align = "center",
valign = "center",
widget = wibox.widget.textbox,
},
{
{
text = "After",
align = "center",
valign = "center",
widget = wibox.widget.textbox,
},
reflection = {horizontal = true},
widget = wibox.container.mirror
}