GTK cleanups
This commit is contained in:
@@ -9,55 +9,55 @@ template $Game : Box {
|
||||
Adw.Clamp {
|
||||
maximum-size: 200;
|
||||
|
||||
Box {
|
||||
orientation: vertical;
|
||||
Overlay {
|
||||
[overlay]
|
||||
Revealer play_revealer {
|
||||
transition-type: crossfade;
|
||||
valign: start;
|
||||
halign: start;
|
||||
|
||||
Overlay {
|
||||
[overlay]
|
||||
Revealer play_revealer {
|
||||
transition-type: crossfade;
|
||||
Box {
|
||||
halign: start;
|
||||
valign: end;
|
||||
|
||||
Box {
|
||||
halign: start;
|
||||
valign: end;
|
||||
Button play_button {
|
||||
icon-name: "media-playback-start-symbolic";
|
||||
margin-start: 6;
|
||||
margin-end: 3;
|
||||
margin-top: 6;
|
||||
margin-bottom: 3;
|
||||
|
||||
Button play_button {
|
||||
icon-name: "media-playback-start-symbolic";
|
||||
margin-start: 6;
|
||||
margin-bottom: 6;
|
||||
margin-top: 3;
|
||||
margin-end: 3;
|
||||
styles [
|
||||
"circular",
|
||||
"osd",
|
||||
]
|
||||
}
|
||||
|
||||
styles [
|
||||
"circular",
|
||||
"osd",
|
||||
]
|
||||
}
|
||||
MenuButton menu_button {
|
||||
icon-name: "view-more-symbolic";
|
||||
margin-start: 3;
|
||||
margin-end: 3;
|
||||
margin-top: 6;
|
||||
margin-bottom: 3;
|
||||
|
||||
MenuButton menu_button {
|
||||
icon-name: "view-more-symbolic";
|
||||
margin-start: 3;
|
||||
margin-bottom: 6;
|
||||
margin-top: 3;
|
||||
margin-end: 3;
|
||||
direction: up;
|
||||
|
||||
styles [
|
||||
"circular",
|
||||
"osd",
|
||||
]
|
||||
}
|
||||
styles [
|
||||
"circular",
|
||||
"osd",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Button cover_button {
|
||||
name: "cover_button";
|
||||
overflow: hidden;
|
||||
Button cover_button {
|
||||
name: "cover_button";
|
||||
overflow: hidden;
|
||||
|
||||
accessibility {
|
||||
labelled-by: title;
|
||||
}
|
||||
accessibility {
|
||||
labelled-by: title;
|
||||
}
|
||||
|
||||
Box {
|
||||
orientation: vertical;
|
||||
|
||||
Overlay {
|
||||
[overlay]
|
||||
@@ -74,29 +74,24 @@ template $Game : Box {
|
||||
}
|
||||
}
|
||||
|
||||
styles [
|
||||
"card",
|
||||
"flat",
|
||||
]
|
||||
Label title {
|
||||
label: _("Title");
|
||||
ellipsize: end;
|
||||
hexpand: true;
|
||||
halign: start;
|
||||
margin-top: 14;
|
||||
margin-bottom: 14;
|
||||
margin-start: 12;
|
||||
margin-end: 12;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Label title {
|
||||
label: _("Title");
|
||||
ellipsize: end;
|
||||
hexpand: true;
|
||||
halign: start;
|
||||
margin-top: 14;
|
||||
margin-bottom: 14;
|
||||
margin-start: 12;
|
||||
margin-end: 12;
|
||||
styles [
|
||||
"card",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
styles [
|
||||
"card",
|
||||
]
|
||||
}
|
||||
|
||||
menu game_options {
|
||||
|
||||
Reference in New Issue
Block a user