From fa9074e8e22268feefdedc77d439aa58b1acd118 Mon Sep 17 00:00:00 2001 From: Bruce Cowan <bruce@bcowan.me.uk> Date: Fri, 11 Jun 2021 13:52:14 +0100 Subject: [PATCH] Headerbar improvements to fit HIG --- data/interface.ui | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/data/interface.ui b/data/interface.ui index d786320..e76eac0 100644 --- a/data/interface.ui +++ b/data/interface.ui @@ -31,9 +31,10 @@ </menu> <template class="RugbyAppWindow" parent="GtkApplicationWindow"> <property name="title" translatable="yes">Rugby</property> + <property name="default-height">600</property> + <property name="default-width">400</property> <child> <object class="GtkScrolledWindow"> - <property name="height_request">600</property> <child> <object class="GtkListView" id="listview"> <property name="model"> @@ -55,15 +56,19 @@ </child> <child type="titlebar"> <object class="GtkHeaderBar"> - <child> - <object class="GtkLabel"> - <property name="label" translatable="yes">Score:</property> - </object> - </child> <child> <object class="GtkSpinButton" id="scorespin"> <property name="adjustment">adjustment1</property> <property name="focusable">1</property> + <property name="tooltip-text">Score</property> + </object> + </child> + <child type="title"> + <object class="GtkLabel"> + <property name="label">Rugby</property> + <style> + <class name="title"/> + </style> </object> </child> <child type="end"> -- GitLab