feat(mainwindow):In fashion mode, the upper and lower intervals are not equal

This commit is contained in:
shaojun 2019-09-15 14:59:14 +08:00
parent 19f5406505
commit e66bde21b7

View File

@ -614,7 +614,7 @@ void MainWindow::setStrutPartial()
return;
}
m_xcbMisc->set_strut_partial(winId(), orientation, strut + m_settings->dockMargin(), strutStart, strutEnd);
m_xcbMisc->set_strut_partial(winId(), orientation, strut + m_settings->dockMargin() * ratio, strutStart, strutEnd);
}
void MainWindow::expand()