We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dfded0 commit 440f1a5Copy full SHA for 440f1a5
src/qadwaitadecorations.cpp
@@ -273,6 +273,9 @@ QRectF QAdwaitaDecorations::buttonRect(Button button) const
273
xPos += ceButtonWidth * btnPos;
274
xPos += ceButtonSpacing * btnPos;
275
xPos += margins().left();
276
+ // We are painting from the left to the right so the real
277
+ // position doesn't need to by moved by the size of the button.
278
+ xPos -= ceButtonWidth;
279
}
280
281
yPos = margins().top();
0 commit comments