2016-05-24 19:53:21 +02:00
|
|
|
--DOC_HIDE_ALL
|
|
|
|
local wibox = require("wibox")
|
|
|
|
|
|
|
|
return {
|
|
|
|
text = "Some long text",
|
|
|
|
align = "center",
|
|
|
|
valign = "center",
|
|
|
|
widget = wibox.widget.textbox,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
{
|
|
|
|
{
|
|
|
|
text = "Some long text",
|
|
|
|
align = "center",
|
|
|
|
valign = "center",
|
|
|
|
widget = wibox.widget.textbox,
|
|
|
|
},
|
|
|
|
strategy = "max",
|
|
|
|
height = 8,
|
|
|
|
width = 50,
|
|
|
|
widget = wibox.container.constraint
|
|
|
|
},
|
|
|
|
layout = wibox.layout.fixed.horizontal,
|
|
|
|
},
|
|
|
|
layout = wibox.layout.fixed.vertical,
|
|
|
|
}
|
2016-12-31 13:59:38 +01:00
|
|
|
|
|
|
|
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|