mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
MainWindow: try fix again
This commit is contained in:
parent
8024b55a75
commit
cfb938365d
@ -1335,6 +1335,14 @@ void VMainWindow::initDockWindows()
|
||||
|
||||
initToolsDock();
|
||||
initSearchDock();
|
||||
|
||||
// Manual resize it to fix the empty-panel bug in Linux.
|
||||
QList<QDockWidget *> docks;
|
||||
docks.append(m_toolDock);
|
||||
docks.append(m_searchDock);
|
||||
QList<int> sizes;
|
||||
sizes << 200 << 200;
|
||||
resizeDocks(docks, sizes, Qt::Horizontal);
|
||||
}
|
||||
|
||||
void VMainWindow::initToolsDock()
|
||||
|
Loading…
x
Reference in New Issue
Block a user