Truly independent web browser
UI/Qt: Keep popover cards from losing a point to the safe area
Andreas Kling8d3a92b68342
diff --git a/UI/Qt/Popover.cpp b/UI/Qt/Popover.cppindex 8e3ef567df0..99db052c4d5 100644--- a/UI/Qt/Popover.cpp+++ b/UI/Qt/Popover.cpp@@ -54,6 +54,9 @@ Popover::Popover(QWidget* parent)setAttribute(Qt::WA_NativeWindow);#endifsetAttribute(Qt::WA_TranslucentBackground);+ // NB: The window is placed by its card, and macOS can report a safe area at its top, which would take a point from+ // the card's height.+ setAttribute(Qt::WA_ContentsMarginsRespectsSafeArea, false);auto* layout = new QVBoxLayout(this);layout->setContentsMargins(POPOVER_SHADOW_MARGINS);