Sfoglia il codice sorgente

设置导航栏宽度

chengxr 1 anno fa
parent
commit
c7e165ab26
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      QFD/view/MainWindow.cpp

+ 1 - 0
QFD/view/MainWindow.cpp

@@ -90,6 +90,7 @@ void MainWindow::initialize()
     m_widgetLayout  = new QHBoxLayout();
     m_stackWidget   = new StackedWidget(this);
     m_naviInterface = new NavigationInterface(true, true, this);
+    m_naviInterface->panel->setExpandWidth(200);
 
     m_homeView = new HomeView(this);