diff --git a/src/widgets/panel/utilitypanel.cpp b/src/widgets/panel/utilitypanel.cpp index 28f5b80d..ac392d4c 100644 --- a/src/widgets/panel/utilitypanel.cpp +++ b/src/widgets/panel/utilitypanel.cpp @@ -42,6 +42,11 @@ UtilityPanel::UtilityPanel(QWidget* parent) &QPropertyAnimation::finished, m_internalPanel, &QWidget::hide); + +#if (defined(Q_OS_WIN) || defined(Q_OS_MAC) || defined(Q_OS_MAC64) || \ + defined(Q_OS_MACOS) || defined(Q_OS_MACX)) + move(0, 0); +#endif } QWidget* UtilityPanel::toolWidget() const @@ -81,6 +86,10 @@ void UtilityPanel::show() m_showAnimation->setEndValue(QRect(0, 0, width(), height())); m_internalPanel->show(); m_showAnimation->start(); +#if (defined(Q_OS_WIN) || defined(Q_OS_MAC) || defined(Q_OS_MAC64) || \ + defined(Q_OS_MACOS) || defined(Q_OS_MACX)) + move(0, 0); +#endif QWidget::show(); }