Skip to content
Snippets Groups Projects
Verified Commit 053697fe authored by Bruce Cowan's avatar Bruce Cowan :airplane:
Browse files

Move clamp to where it's needed

parent 3548e88a
No related branches found
No related tags found
No related merge requests found
...@@ -55,24 +55,25 @@ template RugbyAppWindow : Adw.ApplicationWindow { ...@@ -55,24 +55,25 @@ template RugbyAppWindow : Adw.ApplicationWindow {
} }
} }
Adw.Clamp { Stack stack {
maximum-size: 500; StackPage {
name: "empty_page";
Stack stack { child: Adw.StatusPage {
StackPage { icon-name: "list";
name: "empty_page"; title: "No possibilities";
};
}
child: Adw.StatusPage { StackPage {
icon-name: "list"; name: "list_page";
title: "No possibilities";
};
}
StackPage { child: ScrolledWindow {
name: "list_page"; vexpand: true;
child: ScrolledWindow { Adw.Clamp {
vexpand: true; maximum-size: 600;
tightening-threshold: 400;
ListView listview { ListView listview {
styles ["rich-list"] styles ["rich-list"]
...@@ -91,8 +92,8 @@ template RugbyAppWindow : Adw.ApplicationWindow { ...@@ -91,8 +92,8 @@ template RugbyAppWindow : Adw.ApplicationWindow {
}; };
}; };
} }
}; }
} };
} }
} }
} }
...@@ -124,4 +125,3 @@ menu app_menu { ...@@ -124,4 +125,3 @@ menu app_menu {
item ("_About Rugby", "app.about") item ("_About Rugby", "app.about")
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment