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

26 lines
501 B
Lua
Raw Normal View History

2016-08-16 06:00:39 +02:00
--DOC_HIDE_ALL
--DOC_GEN_IMAGE
2016-08-16 06:00:39 +02:00
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,
},
valign = "bottom",
halign = "right",
widget = wibox.container.place
},
margins = 5,
layout = wibox.container.margin
}