v-align alert

This commit is contained in:
Michael Kirk 2021-01-21 13:32:39 -06:00 committed by Dustin Carlino
parent f9fdce9637
commit 6920d324f7

View File

@ -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),
]),