From 6d1c29533ab455dabe7e7b4f0dd31d5a11f02048 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 12 Jan 2026 16:21:23 +0100 Subject: refactor project view --- src/ui/ui_contacts.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/ui/ui_contacts.cpp') diff --git a/src/ui/ui_contacts.cpp b/src/ui/ui_contacts.cpp index b41180e..7b8c21c 100644 --- a/src/ui/ui_contacts.cpp +++ b/src/ui/ui_contacts.cpp @@ -155,6 +155,10 @@ static void draw_contacts_create() } if (!can_save) ImGui::EndDisabled(); + ImGui::Spacing(); + ImGui::Separator(1.0f); + ImGui::Spacing(); + ImGui::ContactForm(&active_contact, false, false); } @@ -182,6 +186,10 @@ static void draw_contacts_update() ImGui::OpenPopup("ConfirmDeletePopup"); } + ImGui::Spacing(); + ImGui::Separator(1.0f); + ImGui::Spacing(); + ImGui::ContactForm(&active_contact, false, false); // Confirmation popup before contact is deleted permanently. @@ -211,6 +219,10 @@ static void draw_contact_view() if (ImGui::Button(locale::get("form.change"))) { current_view_state = ui::view_state::EDIT_EXISTING; } + + ImGui::Spacing(); + ImGui::Separator(1.0f); + ImGui::Spacing(); ImGui::ContactForm(&active_contact, true, false); } -- cgit v1.2.3-70-g09d2