Sankore-1162 Windows vertical offset when the toolbar is on the bottom

preferencesAboutTextFull
Ilia Ryabokon 12 years ago
parent a2a72d41ed
commit bca6caead2
  1. 2
      src/board/UBBoardPaletteManager.cpp

@ -750,7 +750,7 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
mLeftPalette->setVisible(leftPaletteVisible); mLeftPalette->setVisible(leftPaletteVisible);
mRightPalette->setVisible(rightPaletteVisible); mRightPalette->setVisible(rightPaletteVisible);
#ifdef Q_WS_WIN #ifdef Q_WS_WIN
if (rightPaletteVisible) if (rightPaletteVisible && UBSettings::settings()->appToolBarPositionedAtTop->get().toBool())
mRightPalette->setAdditionalVOffset(30); mRightPalette->setAdditionalVOffset(30);
#endif #endif

Loading…
Cancel
Save