mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-29 17:34:58 +03:00
v-align alert
This commit is contained in:
parent
f9fdce9637
commit
6920d324f7
@ -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),
|
||||
]),
|
||||
|
Loading…
Reference in New Issue
Block a user