correct valigh -> valign

This commit is contained in:
Little Clover 2021-12-11 09:53:09 +08:00
parent d3d929dbba
commit d41b54c168
5 changed files with 8 additions and 8 deletions

View File

@ -192,7 +192,7 @@ local function worker(user_args)
{ {
refresh_button, refresh_button,
halign = 'right', halign = 'right',
valigh = 'center', valign = 'center',
fill_horizontal = true, fill_horizontal = true,
layout = wibox.container.place, layout = wibox.container.place,
}, },
@ -307,7 +307,7 @@ local function worker(user_args)
{ {
header_refresh_icon, header_refresh_icon,
halign = 'right', halign = 'right',
valigh = 'center', valign = 'center',
layout = wibox.container.place, layout = wibox.container.place,
}, },
layout = wibox.layout.align.horizontal layout = wibox.layout.align.horizontal

View File

@ -60,7 +60,7 @@ local function worker(user_args)
widget = wibox.widget.imagebox, widget = wibox.widget.imagebox,
resize = false resize = false
}, },
valigh = 'center', valign = 'center',
layout = wibox.container.place, layout = wibox.container.place,
} }
local level_widget = wibox.widget { local level_widget = wibox.widget {

View File

@ -298,7 +298,7 @@ local function worker(user_args)
margins = 8, margins = 8,
layout = wibox.container.margin layout = wibox.container.margin
}, },
valigh = 'center', valign = 'center',
layout = wibox.container.place layout = wibox.container.place
}, },
{ {
@ -318,7 +318,7 @@ local function worker(user_args)
forced_width = 180, forced_width = 180,
layout = wibox.layout.fixed.vertical layout = wibox.layout.fixed.vertical
}, },
valigh = 'center', valign = 'center',
layout = wibox.container.place layout = wibox.container.place
}, },
{ {

View File

@ -105,7 +105,7 @@ local function launch(args)
spacing = 8, spacing = 8,
layout = wibox.layout.fixed.horizontal layout = wibox.layout.fixed.horizontal
}, },
valigh = 'center', valign = 'center',
layout = wibox.container.place layout = wibox.container.place
}, },
{ {
@ -118,7 +118,7 @@ local function launch(args)
}, },
id = 'a', id = 'a',
shape_border_width = 1, shape_border_width = 1,
valigh = 'center', valign = 'center',
layout = wibox.container.place layout = wibox.container.place
} }

View File

@ -77,7 +77,7 @@ local function translate(to_translate, lang, api_key, url)
widget = wibox.widget.imagebox, widget = wibox.widget.imagebox,
resize = false resize = false
}, },
valigh = 'center', valign = 'center',
layout = wibox.container.place, layout = wibox.container.place,
}, },
{ {