adjusted title bar position

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent 08ee463aa7
commit 6e66f94c06
  1. 6
      src/domain/UBGraphicsItemDelegate.cpp

@ -769,7 +769,11 @@ void UBGraphicsItemDelegate::updateButtons(bool showUpdated)
int i = 1, j = 0, k = 0, l = 0;
int frameButtonHeight = mDeleteButton->boundingRect().size().height();
qreal topXTitleBar = topX + (1.6 * mFrameWidth * mAntiScaleRatio);
qreal topYTitleBar = topY + frameButtonHeight + 10;
qreal topYTitleBar = topY + frameButtonHeight *mAntiScaleRatio;
#ifndef Q_WS_X11
topYTitleBar += 5;
#endif
while ((i + j + k + l) < mButtons.size()) {
DelegateButton* button = mButtons[i + j + k + l];

Loading…
Cancel
Save