Blueprint cleanups

This commit is contained in:
kramo
2023-08-21 16:13:31 +02:00
parent 70b8493e72
commit 9883cc6b6b
3 changed files with 159 additions and 142 deletions

View File

@@ -29,7 +29,7 @@ template $DetailsWindow : Adw.Window {
[end]
Button apply_button {
styles [
"suggested-action"
"suggested-action",
]
}
}
@@ -40,6 +40,7 @@ template $DetailsWindow : Adw.Window {
Adw.PreferencesGroup cover_group {
Adw.Clamp cover_clamp {
maximum-size: 200;
Overlay {
[overlay]
Spinner spinner {
@@ -61,7 +62,8 @@ template $DetailsWindow : Adw.Window {
margin-end: 6;
styles [
"circular", "osd"
"circular",
"osd",
]
}
@@ -79,7 +81,8 @@ template $DetailsWindow : Adw.Window {
margin-end: 6;
styles [
"circular", "osd"
"circular",
"osd",
]
}
}
@@ -89,7 +92,7 @@ template $DetailsWindow : Adw.Window {
height-request: 300;
styles [
"card"
"card",
]
}
}
@@ -101,32 +104,34 @@ template $DetailsWindow : Adw.Window {
Adw.EntryRow name {
title: _("Title");
}
Adw.EntryRow developer {
title: _("Developer (optional)");
}
}
Adw.PreferencesGroup {
Adw.EntryRow executable {
title: _("Executable");
[suffix]
Gtk.Button file_chooser_button {
Button file_chooser_button {
valign: center;
icon-name: "document-open-symbolic";
tooltip-text: _("Select File");
styles [
"flat"
"flat",
]
}
[suffix]
Gtk.MenuButton exec_info_button {
MenuButton exec_info_button {
valign: center;
icon-name: "help-about-symbolic";
tooltip-text: _("More Info");
popover: Popover exec_info_popover {
popover:
Popover exec_info_popover {
focusable: true;
Label exec_info_label {
@@ -140,13 +145,14 @@ template $DetailsWindow : Adw.Window {
margin-start: 6;
margin-end: 6;
}
};
}
;
styles [
"flat"
"flat",
]
}
}
}
}

View File

@@ -76,7 +76,6 @@ template $PreferencesWindow : Adw.PreferencesWindow {
]
}
}
}
}

View File

@@ -194,13 +194,19 @@ template $CartridgesWindow : Adw.ApplicationWindow {
action-name: "app.edit_game";
tooltip-text: _("Edit");
styles ["raised", "circular"]
styles [
"raised",
"circular",
]
}
Button details_view_hide_button {
action-name: "app.hide_game";
styles ["raised", "circular"]
styles [
"raised",
"circular",
]
}
Button {
@@ -208,7 +214,10 @@ template $CartridgesWindow : Adw.ApplicationWindow {
action-name: "app.remove_game";
tooltip-text: _("Remove");
styles ["raised", "circular"]
styles [
"raised",
"circular",
]
}
MenuButton {
@@ -216,7 +225,10 @@ template $CartridgesWindow : Adw.ApplicationWindow {
menu-model: search;
tooltip-text: _("Search");
styles ["raised", "circular"]
styles [
"raised",
"circular",
]
}
styles [