mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
tests: Test the place container.
This commit is contained in:
parent
1e50f7b376
commit
7753d830c1
1 changed files with 24 additions and 0 deletions
24
tests/examples/wibox/container/defaults/place.lua
Normal file
24
tests/examples/wibox/container/defaults/place.lua
Normal 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
|
||||
}
|
Loading…
Reference in a new issue