diff --git a/DSView/pv/mainframe.cpp b/DSView/pv/mainframe.cpp index d4605d97..9f702324 100644 --- a/DSView/pv/mainframe.cpp +++ b/DSView/pv/mainframe.cpp @@ -778,6 +778,11 @@ void MainFrame::AttachNativeWindow() nativeWindow->SetBorderColor(QColor(0x80, 0x80, 0x80)); _parentNativeWidget = nativeWindow; + //Make sure the shadow displayed at a right position fisrt time for windows 10. + QTimer::singleShot(100, this, [this](){ + _parentNativeWidget->ResizeChild(); + }); + #endif }