From 89811997421b815d4d985e28da4540359c3a3047 Mon Sep 17 00:00:00 2001 From: Romain Gallet Date: Sun, 31 Mar 2024 22:51:14 +0200 Subject: [PATCH] Group icons moved to eventbox (#149) * Account title borders * Group title borders * Moved account icons to EventBox --- data/resources/gtk/ui/account_group.ui | 58 +++++--- data/resources/gtk/ui/main.ui | 189 +++++++++++++++---------- 2 files changed, 149 insertions(+), 98 deletions(-) diff --git a/data/resources/gtk/ui/account_group.ui b/data/resources/gtk/ui/account_group.ui index 55afca11..66d01c51 100644 --- a/data/resources/gtk/ui/account_group.ui +++ b/data/resources/gtk/ui/account_group.ui @@ -1,5 +1,5 @@ - + @@ -278,13 +278,42 @@ True False - - group_label + + True False - + + + group_label + True + False + + + + 1 + 0 + + + + + group_image + 0 + 0 + True + False + 10 + 0 + + + + 0 + 0 + + @@ -294,22 +323,7 @@ - - group_image - 0 - 0 - True - False - 10 - 0 - - - - 0 - 0 - + diff --git a/data/resources/gtk/ui/main.ui b/data/resources/gtk/ui/main.ui index 750f2f6b..65b99225 100644 --- a/data/resources/gtk/ui/main.ui +++ b/data/resources/gtk/ui/main.ui @@ -180,65 +180,81 @@ True False vertical - 20 + 3 - + True False - 10 - 25 + center + 5 + 5 + 15 + 0 + in - - add_accounts_container_edit + True False - start - Edit account - + 5 + 5 + 5 + 5 + + + add_accounts_container_edit + True + False + start + Edit account + + + + False + False + 0 + + + + + add_accounts_container_add + False + start + New account + + + + False + False + 1 + + - - False - False - 0 - - - - add_accounts_container_add - False - start - New account - - - - False - False - 1 - + + + - False - False + True + True 0 - - - True False 5 5 - 5 5 0 in @@ -511,7 +527,7 @@ True True - 2 + 1 @@ -543,53 +559,72 @@ True False vertical - 20 + 2 - + True False - 10 - 25 + 5 + 5 + 15 + 0 + in - - add_group_container_add + True False - start - New group - + 5 + 5 + 5 + 5 + + + add_group_container_add + True + False + start + New group + + + + False + True + 0 + + + + + add_group_container_edit + True + False + start + Edit group + + + + False + True + 1 + + - - False - True - 0 - - - - add_group_container_edit - True - False - start - Edit group - - - - False - True - 1 - + + + False - False + True 0 @@ -599,7 +634,6 @@ False 5 5 - 5 5 0 in @@ -857,6 +891,9 @@ 1 + + + False