Starting on the details page

This commit is contained in:
2022-12-19 00:55:39 -08:00
parent 9aa5741e1a
commit 976562e8bd
4 changed files with 59 additions and 16 deletions

View File

@@ -3,7 +3,7 @@ using Adw 1;
Adw.ApplicationWindow mainWindow {
title: "Wince";
default-width: 600;
default-width: 700;
default-height: 500;
Gtk.Box {
@@ -32,19 +32,30 @@ Adw.ApplicationWindow mainWindow {
}
}
Gtk.ScrolledWindow scrollWindow {
vexpand: true;
visible: false;
Gtk.ListBox searchResults {}
}
Gtk.Label poweredByText {
halign: center;
valign: center;
vexpand: true;
use-markup: true;
label: "<span foreground=\"gray\" style=\"italic\">Wince is powered by Yelp</span>";
label: "Wince is powered by Yelp";
}
Adw.Leaflet leaflet {
visible: false;
Gtk.ScrolledWindow scrollWindow {
vexpand: true;
width-request: 300;
Gtk.ListBox searchResults {}
}
Gtk.Box {
Gtk.Label seeDetailsText {
label: "Select a result to see details";
hexpand: true;
halign: center;
}
}
}
}
}