From 02554d523daa7ecf560cadbd1fdb901d273984e5 Mon Sep 17 00:00:00 2001 From: DanS Date: Wed, 22 Jul 2026 23:45:14 -0500 Subject: [PATCH] fix(ui): align contacts table-view footer with cards/list views In table view the table is inset into its glass panel by tVpad and its outer_size is listH-2*tVpad, so the post-table cursor ended tVpad (~10px) above where the cards/list views leave it, pulling the "N address saved" footer up. Land the cursor at the glass-panel bottom (tpMin.y + listH) so the footer lines up across all three view styles. Co-Authored-By: Claude Fable 5 --- src/ui/windows/contacts_tab.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/windows/contacts_tab.cpp b/src/ui/windows/contacts_tab.cpp index 8bb5657..4cf5078 100644 --- a/src/ui/windows/contacts_tab.cpp +++ b/src/ui/windows/contacts_tab.cpp @@ -1097,6 +1097,10 @@ void RenderContactsTab(App* app) } ImGui::EndTable(); } + // Land the cursor at the glass-panel bottom (tpMin.y + listH) so the count footer lines up + // with the Cards/List views. The table is inset by tVpad and its outer_size is listH-2*tVpad, + // so it would otherwise end tVpad higher and pull the footer up. + ImGui::SetCursorScreenPos(ImVec2(tpMin.x, tpMin.y + listH)); } else { // ── CARDS (0) / LIST (1) mode — tactile Material items, no grid lines. ── const bool asCard = (viewMode == 0);