Skip to content

Commit

Permalink
fix: The notification center panel is too close to the edge
Browse files Browse the repository at this point in the history
Change to 10px from the edge

Issue: linuxdeepin/developer-center#9373
  • Loading branch information
mhduiy committed Jun 21, 2024
1 parent 58604a5 commit 3026678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/geometryhandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ QRect GeometryHandler::getGeometry(const int expectedWidth, const bool reduceDoc
}
}

return QRect(x, y, expectedWidth, height);
return QRect(x - UI::Widget::WindowMargin, y, expectedWidth, height);
}

QRect GeometryHandler::calcDisplayRect(const QRect &dockRect)
Expand Down

0 comments on commit 3026678

Please sign in to comment.