diff --git a/src/app.cpp b/src/app.cpp index afeff0c..2ca34eb 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -2293,10 +2293,13 @@ void App::renderAlertHistoryPanel() const auto& hist = notes.history(); const float innerW = ImGui::GetContentRegionAvail().x; const float padX = 8.0f * dp; + const float padY = 8.0f * dp; ImFont* icoF = m::Type().iconSmall(); ImFont* txtF = m::Type().caption(); + ImGui::Dummy(ImVec2(0.0f, padY)); // breathing room above the content + // Header: "Recent alerts" on the left, a Clear-all icon button on the right. ImGui::SetCursorPosX(padX); ImGui::PushFont(txtF); @@ -2325,6 +2328,7 @@ void App::renderAlertHistoryPanel() ImGui::PushFont(txtF); ImGui::TextDisabled("%s", TR("alerts_none")); ImGui::PopFont(); + ImGui::Dummy(ImVec2(0.0f, padY)); // breathing room below the content return; } @@ -2369,6 +2373,7 @@ void App::renderAlertHistoryPanel() ImGui::Spacing(); } ImGui::EndChild(); + ImGui::Dummy(ImVec2(0.0f, padY)); // breathing room below the content } void App::renderStatusBar()