From 1a7c8161828faba638ceba1ce7ee819b0972d31d Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Fri, 27 Jan 2017 19:28:46 -0500 Subject: [PATCH] doc: Fix the progressbar examples indentation Correctly, this time --- .../wibox/widget/progressbar/clip.lua | 38 +++++++++---------- .../wibox/widget/progressbar/text.lua | 34 ++++++++--------- .../wibox/widget/progressbar/vertical.lua | 22 +++++------ 3 files changed, 47 insertions(+), 47 deletions(-) diff --git a/tests/examples/wibox/widget/progressbar/clip.lua b/tests/examples/wibox/widget/progressbar/clip.lua index 44dea3cc..bd272271 100644 --- a/tests/examples/wibox/widget/progressbar/clip.lua +++ b/tests/examples/wibox/widget/progressbar/clip.lua @@ -5,25 +5,25 @@ local beautiful = require("beautiful") --DOC_HIDE parent:add( --DOC_HIDE - wibox.widget { - value = 75, - max_value = 100, - border_width = 2, - border_color = beautiful.border_color, - color = beautiful.border_color, - shape = gears.shape.rounded_bar, - bar_shape = gears.shape.rounded_bar, - clip = false, - forced_height = 30, - forced_width = 100, - paddings = 5, - margins = { - top = 12, - bottom = 12, - }, - widget = wibox.widget.progressbar, - } + wibox.widget { + value = 75, + max_value = 100, + border_width = 2, + border_color = beautiful.border_color, + color = beautiful.border_color, + shape = gears.shape.rounded_bar, + bar_shape = gears.shape.rounded_bar, + clip = false, + forced_height = 30, + forced_width = 100, + paddings = 5, + margins = { + top = 12, + bottom = 12, + }, + widget = wibox.widget.progressbar, + } - ) --DOC_HIDE +) --DOC_HIDE --DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/progressbar/text.lua b/tests/examples/wibox/widget/progressbar/text.lua index dce30f52..59cc4f46 100644 --- a/tests/examples/wibox/widget/progressbar/text.lua +++ b/tests/examples/wibox/widget/progressbar/text.lua @@ -4,23 +4,23 @@ local beautiful = require("beautiful") --DOC_HIDE parent:add( --DOC_HIDE -wibox.widget { - { - max_value = 1, - value = 0.5, - forced_height = 20, - forced_width = 100, - paddings = 1, - border_width = 1, - border_color = beautiful.border_color, - widget = wibox.widget.progressbar, - }, - { - text = "50%", - widget = wibox.widget.textbox, - }, - layout = wibox.layout.stack -} + wibox.widget { + { + max_value = 1, + value = 0.5, + forced_height = 20, + forced_width = 100, + paddings = 1, + border_width = 1, + border_color = beautiful.border_color, + widget = wibox.widget.progressbar, + }, + { + text = "50%", + widget = wibox.widget.textbox, + }, + layout = wibox.layout.stack + } ) --DOC_HIDE --DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/tests/examples/wibox/widget/progressbar/vertical.lua b/tests/examples/wibox/widget/progressbar/vertical.lua index 953ae12e..09014e9e 100644 --- a/tests/examples/wibox/widget/progressbar/vertical.lua +++ b/tests/examples/wibox/widget/progressbar/vertical.lua @@ -3,17 +3,17 @@ local wibox = require("wibox") --DOC_HIDE parent:add( --DOC_HIDE -wibox.widget { - { - max_value = 1, - value = 0.33, - widget = wibox.widget.progressbar, - }, - forced_height = 100, - forced_width = 20, - direction = "east", - layout = wibox.container.rotate, -} + wibox.widget { + { + max_value = 1, + value = 0.33, + widget = wibox.widget.progressbar, + }, + forced_height = 100, + forced_width = 20, + direction = "east", + layout = wibox.container.rotate, + } ) --DOC_HIDE --DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80