doc: Add a `mirror` default screenshot
This commit is contained in:
parent
ab0a9a077e
commit
46c83b4001
|
@ -1,4 +1,6 @@
|
|||
---------------------------------------------------------------------------
|
||||
--
|
||||
--@DOC_wibox_container_defaults_mirror_EXAMPLE@
|
||||
-- @author dodo
|
||||
-- @copyright 2012 dodo
|
||||
-- @release @AWESOME_VERSION@
|
||||
|
|
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue