From 6920d324f7ad1cf9dc1acd09aa628f9021f9a973 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Thu, 21 Jan 2021 13:32:39 -0600 Subject: [PATCH] v-align alert --- game/src/edit/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/game/src/edit/mod.rs b/game/src/edit/mod.rs index b3c4e803a5..eac18a6cd2 100644 --- a/game/src/edit/mod.rs +++ b/game/src/edit/mod.rs @@ -858,7 +858,9 @@ impl ConfirmDiscard { discard, panel: Panel::new(Widget::col(vec![ Widget::row(vec![ - Widget::draw_svg(ctx, "system/assets/tools/alert.svg"), + Widget::draw_svg(ctx, "system/assets/tools/alert.svg") + .container() + .padding_top(6), Line("Alert").small_heading().draw(ctx), ctx.style().btn_close_widget(ctx), ]),