Properly center align New Snapshot button

This commit is contained in:
Heliguy
2024-02-07 04:09:04 -05:00
parent 76bb928e6f
commit 32497839ba

View File

@@ -18,22 +18,20 @@ template $SnapshotsWindow: Adw.Window {
[bottom]
ActionBar action_bar {
Box {
[center]
Button new_snapshot {
halign: center;
hexpand: true;
Button new_snapshot {
sensitive: bind action_bar.revealed;
margin-top: 6;
margin-bottom: 6;
styles[
"pill",
"suggested-action"
]
sensitive: bind action_bar.revealed;
margin-top: 6;
margin-bottom: 6;
styles[
"pill",
"suggested-action"
]
Adw.ButtonContent {
label: _("New Snapshot");
icon-name: "plus-large-symbolic";
}
Adw.ButtonContent {
label: _("New Snapshot");
icon-name: "plus-large-symbolic";
}
}
}