tests: Test the place container.

This commit is contained in:
Emmanuel Lepage Vallee 2016-08-16 00:00:39 -04:00
parent 1e50f7b376
commit 7753d830c1
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
--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,
},
valign = "bottom",
halign = "right",
widget = wibox.container.place
},
margins = 5,
layout = wibox.container.margin
}