display app name in window header

This commit is contained in:
Skarn
2020-11-04 22:54:04 +03:00
parent 071a4b513a
commit 15adddce89
2 changed files with 2 additions and 1 deletions

View File

@@ -434,7 +434,7 @@ void MapView::createGUI()
for (auto dock : _tool_properties_docks)
{
dock->setFloating(true);
dock->move(_main_window->geometry().topRight().x() - dock->rect().width() - 20, _main_window->geometry().topRight().y() + 65);
dock->move(_main_window->geometry().topRight().x() - dock->rect().width() - 20, _main_window->geometry().topRight().y() + 80);
}
}

View File

@@ -64,6 +64,7 @@ namespace noggit
_menuBar = menuBar();
titleBarWidget.horizontalLayout->insertWidget(1, _menuBar);
titleBarWidget.horizontalLayout->insertWidget(1, new QLabel(title.str().c_str(), this));
_menuBar->setMaximumHeight(20);
titleBarWidget.minimizeButton->setIcon(font_awesome_icon(font_awesome::windowminimize));