Starting on the details page
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user