tests: Use the new progressbar features in the default test.

This commit is contained in:
Emmanuel Lepage Vallee 2016-07-24 21:46:37 -04:00
parent e1733dd37a
commit b49b859fac
1 changed files with 10 additions and 3 deletions

View File

@ -1,12 +1,19 @@
local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
local gears = {shape = require("gears.shape") } --DOC_HIDE
local beautiful = require("beautiful") --DOC_HIDE
parent:add( --DOC_HIDE
wibox.widget {
max_value = 1,
value = 0.33,
widget = wibox.widget.progressbar
max_value = 1,
value = 0.33,
forced_height = 20,
forced_width = 100,
shape = gears.shape.rounded_bar,
border_width = 2,
border_color = beautiful.border_color,
widget = wibox.widget.progressbar,
}
) --DOC_HIDE