From b49b859fac1fedf25b74e9d9cfd9ac2dfc470fbf Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 24 Jul 2016 21:46:37 -0400 Subject: [PATCH] tests: Use the new progressbar features in the default test. --- .../examples/wibox/widget/defaults/progressbar.lua | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/examples/wibox/widget/defaults/progressbar.lua b/tests/examples/wibox/widget/defaults/progressbar.lua index c82957ff..f833edc8 100644 --- a/tests/examples/wibox/widget/defaults/progressbar.lua +++ b/tests/examples/wibox/widget/defaults/progressbar.lua @@ -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