Fixed verification styling and button transitions.

This commit is contained in:
Jas Singh
2024-06-09 22:47:06 -07:00
parent 608137a604
commit 9745d6ee3a
6 changed files with 62 additions and 25 deletions

View File

@@ -19,7 +19,7 @@ export default () =>
}),
Widget.Label({
class_name: "desc",
label: "Are you sure?",
label: powermenu.bind("title").as(p => `Are you sure you want to ${p.toLowerCase()}?`),
}),
],
}),
@@ -29,16 +29,16 @@ export default () =>
vpack: "end",
homogeneous: true,
children: [
Widget.Button({
class_name: "verification-button bar-verification_no",
child: Widget.Label("No"),
on_clicked: () => App.toggleWindow("verification"),
}),
Widget.Button({
class_name: "verification-button bar-verification_yes",
child: Widget.Label("Yes"),
on_clicked: powermenu.exec,
}),
Widget.Button({
class_name: "verification-button bar-verification_no",
child: Widget.Label("No"),
on_clicked: () => App.toggleWindow("verification"),
}),
],
}),
],