|
@@ -107,7 +107,6 @@ void MainWindow::initMainPage()
|
|
|
m_widgetLayout = new QHBoxLayout();
|
|
|
m_stackWidget = new StackedWidget(m_mainWidget);
|
|
|
m_naviInterface = new NavigationInterface(true, true, m_mainWidget);
|
|
|
- m_naviInterface->panel->setExpandWidth(200);
|
|
|
|
|
|
m_homeView = new HomeView(m_mainWidget);
|
|
|
|
|
@@ -190,7 +189,7 @@ void MainWindow::setNaviInterfaceHidden(bool hidden)
|
|
|
int MainWindow::titleBarIndent() const
|
|
|
{
|
|
|
if (m_mainStackedWidget->currentIndex() > 0 && m_naviInterface != nullptr && m_naviInterface->isHidden() == false) {
|
|
|
- return 46;
|
|
|
+ return 48;
|
|
|
}
|
|
|
return 0;
|
|
|
}
|