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

22 lines
471 B
Lua

--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
}
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80