awesome/tests/examples/wibox/container/defaults/mirror.lua

23 lines
487 B
Lua

--DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox")
return {
text = "Before",
halign = "center",
valign = "center",
widget = wibox.widget.textbox,
},
{
{
text = "After",
halign = "center",
valign = "center",
widget = wibox.widget.textbox,
},
reflection = {horizontal = true},
widget = wibox.container.mirror
}
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80