From 63ba0bc93636de557ced29c19b2b61eeeab57bf8 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sun, 15 Sep 2024 19:20:41 +0200 Subject: Refresh "Add account" UI --- main/CMakeLists.txt | 1 + main/data/manage_accounts/add_account_dialog.ui | 418 +++++++-------------- main/meson.build | 1 + .../src/ui/manage_accounts/add_account_dialog.vala | 310 +++++++-------- main/src/ui/util/data_forms.vala | 65 ++-- main/src/ui/util/preference_group.vala | 106 ++++++ main/src/view_model/preferences_row.vala | 5 + main/src/windows/conversation_details.vala | 103 +---- 8 files changed, 410 insertions(+), 599 deletions(-) create mode 100644 main/src/ui/util/preference_group.vala diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 39b1320e..7e4a246d 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -228,6 +228,7 @@ SOURCES src/ui/util/data_forms.vala src/ui/util/helper.vala src/ui/util/label_hybrid.vala + src/ui/util/preference_group.vala src/ui/util/sizing_bin.vala src/ui/util/size_request_box.vala diff --git a/main/data/manage_accounts/add_account_dialog.ui b/main/data/manage_accounts/add_account_dialog.ui index d37a98f5..243004d6 100644 --- a/main/data/manage_accounts/add_account_dialog.ui +++ b/main/data/manage_accounts/add_account_dialog.ui @@ -2,17 +2,34 @@