diff options
| author | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-12 16:21:23 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-12 16:21:23 +0100 |
| commit | 6d1c29533ab455dabe7e7b4f0dd31d5a11f02048 (patch) | |
| tree | 808791dcf137ca9bfbf24a18fce8138c7ffa5729 /src/ui/ui_contacts.cpp | |
| parent | 4a2500299e8fd58f40b545d62dae0282ff20bb01 (diff) | |
refactor project view
Diffstat (limited to 'src/ui/ui_contacts.cpp')
| -rw-r--r-- | src/ui/ui_contacts.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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); } |
