2021-07-31 14:55:43 +02:00
|
|
|
--DOC_HIDE_START
|
2018-07-24 14:12:44 +02:00
|
|
|
--DOC_GEN_IMAGE
|
2021-07-31 14:55:43 +02:00
|
|
|
local wibox = require("wibox")
|
2016-07-25 06:16:37 +02:00
|
|
|
|
|
|
|
return {
|
|
|
|
text = "Before",
|
|
|
|
align = "center",
|
|
|
|
valign = "center",
|
|
|
|
widget = wibox.widget.textbox,
|
|
|
|
},
|
|
|
|
{
|
2021-07-31 14:55:43 +02:00
|
|
|
--DOC_HIDE_END
|
2016-07-25 06:16:37 +02:00
|
|
|
{
|
|
|
|
{
|
|
|
|
text = "After",
|
|
|
|
align = "center",
|
|
|
|
valign = "center",
|
|
|
|
widget = wibox.widget.textbox,
|
|
|
|
},
|
2021-07-31 14:55:43 +02:00
|
|
|
value = 0.5,
|
|
|
|
max_value = 1,
|
|
|
|
min_value = 0,
|
|
|
|
widget = wibox.container.radialprogressbar
|
2016-07-25 06:16:37 +02:00
|
|
|
},
|
2021-07-31 14:55:43 +02:00
|
|
|
--DOC_HIDE_START
|
2016-07-25 06:16:37 +02:00
|
|
|
margins = 5,
|
|
|
|
layout = wibox.container.margin
|
|
|
|
}
|
2016-12-31 13:59:38 +01:00
|
|
|
|
2021-07-31 14:55:43 +02:00
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|