Blueprint cleanups
This commit is contained in:
@@ -29,7 +29,7 @@ template $DetailsWindow : Adw.Window {
|
|||||||
[end]
|
[end]
|
||||||
Button apply_button {
|
Button apply_button {
|
||||||
styles [
|
styles [
|
||||||
"suggested-action"
|
"suggested-action",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -40,6 +40,7 @@ template $DetailsWindow : Adw.Window {
|
|||||||
Adw.PreferencesGroup cover_group {
|
Adw.PreferencesGroup cover_group {
|
||||||
Adw.Clamp cover_clamp {
|
Adw.Clamp cover_clamp {
|
||||||
maximum-size: 200;
|
maximum-size: 200;
|
||||||
|
|
||||||
Overlay {
|
Overlay {
|
||||||
[overlay]
|
[overlay]
|
||||||
Spinner spinner {
|
Spinner spinner {
|
||||||
@@ -61,7 +62,8 @@ template $DetailsWindow : Adw.Window {
|
|||||||
margin-end: 6;
|
margin-end: 6;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"circular", "osd"
|
"circular",
|
||||||
|
"osd",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -79,7 +81,8 @@ template $DetailsWindow : Adw.Window {
|
|||||||
margin-end: 6;
|
margin-end: 6;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"circular", "osd"
|
"circular",
|
||||||
|
"osd",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -89,7 +92,7 @@ template $DetailsWindow : Adw.Window {
|
|||||||
height-request: 300;
|
height-request: 300;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"card"
|
"card",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -101,32 +104,34 @@ template $DetailsWindow : Adw.Window {
|
|||||||
Adw.EntryRow name {
|
Adw.EntryRow name {
|
||||||
title: _("Title");
|
title: _("Title");
|
||||||
}
|
}
|
||||||
|
|
||||||
Adw.EntryRow developer {
|
Adw.EntryRow developer {
|
||||||
title: _("Developer (optional)");
|
title: _("Developer (optional)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Adw.PreferencesGroup {
|
Adw.PreferencesGroup {
|
||||||
Adw.EntryRow executable {
|
Adw.EntryRow executable {
|
||||||
title: _("Executable");
|
title: _("Executable");
|
||||||
|
|
||||||
[suffix]
|
[suffix]
|
||||||
Gtk.Button file_chooser_button {
|
Button file_chooser_button {
|
||||||
valign: center;
|
valign: center;
|
||||||
icon-name: "document-open-symbolic";
|
icon-name: "document-open-symbolic";
|
||||||
tooltip-text: _("Select File");
|
tooltip-text: _("Select File");
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
[suffix]
|
[suffix]
|
||||||
Gtk.MenuButton exec_info_button {
|
MenuButton exec_info_button {
|
||||||
valign: center;
|
valign: center;
|
||||||
icon-name: "help-about-symbolic";
|
icon-name: "help-about-symbolic";
|
||||||
tooltip-text: _("More Info");
|
tooltip-text: _("More Info");
|
||||||
|
popover:
|
||||||
popover: Popover exec_info_popover {
|
Popover exec_info_popover {
|
||||||
focusable: true;
|
focusable: true;
|
||||||
|
|
||||||
Label exec_info_label {
|
Label exec_info_label {
|
||||||
@@ -140,13 +145,14 @@ template $DetailsWindow : Adw.Window {
|
|||||||
margin-start: 6;
|
margin-start: 6;
|
||||||
margin-end: 6;
|
margin-end: 6;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
|
;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat"
|
"flat",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,7 +76,6 @@ template $PreferencesWindow : Adw.PreferencesWindow {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -194,13 +194,19 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
action-name: "app.edit_game";
|
action-name: "app.edit_game";
|
||||||
tooltip-text: _("Edit");
|
tooltip-text: _("Edit");
|
||||||
|
|
||||||
styles ["raised", "circular"]
|
styles [
|
||||||
|
"raised",
|
||||||
|
"circular",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
Button details_view_hide_button {
|
Button details_view_hide_button {
|
||||||
action-name: "app.hide_game";
|
action-name: "app.hide_game";
|
||||||
|
|
||||||
styles ["raised", "circular"]
|
styles [
|
||||||
|
"raised",
|
||||||
|
"circular",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
@@ -208,7 +214,10 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
action-name: "app.remove_game";
|
action-name: "app.remove_game";
|
||||||
tooltip-text: _("Remove");
|
tooltip-text: _("Remove");
|
||||||
|
|
||||||
styles ["raised", "circular"]
|
styles [
|
||||||
|
"raised",
|
||||||
|
"circular",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
MenuButton {
|
MenuButton {
|
||||||
@@ -216,7 +225,10 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
menu-model: search;
|
menu-model: search;
|
||||||
tooltip-text: _("Search");
|
tooltip-text: _("Search");
|
||||||
|
|
||||||
styles ["raised", "circular"]
|
styles [
|
||||||
|
"raised",
|
||||||
|
"circular",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
|
|||||||
Reference in New Issue
Block a user