Merge contacts table-view footer fix into dev (follow-up to #1)

This commit is contained in:
2026-07-22 23:46:55 -05:00

View File

@@ -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);