From 2ee68ea1b71c592359fed1fa745ccd3b802d31b9 Mon Sep 17 00:00:00 2001 From: Bruce Cowan <bruce@bcowan.me.uk> Date: Sun, 11 Feb 2024 16:39:54 +0000 Subject: [PATCH] Some minor UI tweaks --- data/gtk/window.blp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/gtk/window.blp b/data/gtk/window.blp index d713fb2..4b9c9ce 100644 --- a/data/gtk/window.blp +++ b/data/gtk/window.blp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2022-2023 Bruce Cowan <bruce@bcowan.me.uk> +// SPDX-FileCopyrightText: 2022-2024 Bruce Cowan <bruce@bcowan.me.uk> // // SPDX-License-Identifier: GPL-3.0-or-later @@ -7,9 +7,10 @@ using Adw 1; template $RugbyAppWindow : Adw.ApplicationWindow { title: "Rugby"; + width-request: 360; + height-request: 294; Adw.ToolbarView { - [top] Adw.HeaderBar { SpinButton scorespin { @@ -24,7 +25,7 @@ template $RugbyAppWindow : Adw.ApplicationWindow { ToggleButton filter_toggle { action-name: "win.show-try-filter"; icon-name: "funnel"; - tooltip-text: "Show Try Filter"; + tooltip-text: "Show Try Filter (Ctrl+F)"; } [end] @@ -32,7 +33,7 @@ template $RugbyAppWindow : Adw.ApplicationWindow { direction: none; primary: true; menu-model: app_menu; - tooltip-text: "Main Menu"; + tooltip-text: "Main Menu (F10)"; } } @@ -59,9 +60,9 @@ template $RugbyAppWindow : Adw.ApplicationWindow { } Stack stack { + StackPage { name: "empty_page"; - child: Adw.StatusPage { icon-name: "list"; title: "No possibilities"; @@ -70,7 +71,6 @@ template $RugbyAppWindow : Adw.ApplicationWindow { StackPage { name: "list_page"; - child: ScrolledWindow { vexpand: true; -- GitLab