Added a back button for mobile
This commit is contained in:
@@ -55,21 +55,24 @@ Adw.ApplicationWindow mainWindow {
|
||||
Gtk.ListBox searchResults {}
|
||||
}
|
||||
|
||||
Adw.Clamp {
|
||||
Adw.Clamp detailsClamp {
|
||||
width-request: 300;
|
||||
maximum-size: 450;
|
||||
tightening-threshold: 400;
|
||||
|
||||
Gtk.Label seeDetailsText {
|
||||
hexpand: true;
|
||||
label: "Select a result to see details";
|
||||
}
|
||||
|
||||
Gtk.Box detailsBox {
|
||||
orientation: vertical;
|
||||
visible: false;
|
||||
margin-start: 14;
|
||||
margin-end: 14;
|
||||
|
||||
Gtk.Button detailsBack {
|
||||
visible: false;
|
||||
hexpand: false;
|
||||
label: "Back to results";
|
||||
margin-bottom: 8;
|
||||
}
|
||||
|
||||
Gtk.Label detailsTitle {
|
||||
halign: start;
|
||||
styles ["title-1"]
|
||||
@@ -123,6 +126,20 @@ Adw.ApplicationWindow mainWindow {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Gtk.Label {
|
||||
styles ["heading"]
|
||||
halign: start;
|
||||
label: "Hours";
|
||||
margin-top: 16;
|
||||
}
|
||||
|
||||
Gtk.ListBox detailsHoursBox {
|
||||
styles ["boxed-list"]
|
||||
selection-mode: none;
|
||||
margin-top: 8;
|
||||
hexpand: true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user