forked from qt-creator/qt-creator
QmlDesigner: Change height of tool and status bar
Change-Id: Ife7539772bdee5d63f7d85f65f659d67f8319e4c Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
9dbd89af7f
commit
8d13ce53cd
@@ -10,17 +10,14 @@
|
||||
#include <utils/filepath.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QStatusBar>
|
||||
#include <QToolBar>
|
||||
#include <QMainWindow>
|
||||
#include <QQmlEngine>
|
||||
#include <QStatusBar>
|
||||
#include <QToolBar>
|
||||
|
||||
namespace QmlDesigner {
|
||||
|
||||
QmlDesigner::ToolBar::ToolBar()
|
||||
{
|
||||
|
||||
}
|
||||
QmlDesigner::ToolBar::ToolBar() {}
|
||||
|
||||
static Utils::FilePath propertyEditorResourcesPath()
|
||||
{
|
||||
@@ -97,7 +94,7 @@ void ToolBar::createStatusBar()
|
||||
|
||||
auto quickWidget = new QQuickWidget;
|
||||
|
||||
quickWidget->setFixedHeight(24);
|
||||
quickWidget->setFixedHeight(41);
|
||||
quickWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||
quickWidget->setMinimumWidth(200);
|
||||
quickWidget->setResizeMode(QQuickWidget::SizeRootObjectToView);
|
||||
@@ -116,6 +113,7 @@ void ToolBar::createStatusBar()
|
||||
}
|
||||
|
||||
Core::ICore::statusBar()->addWidget(quickWidget);
|
||||
Core::ICore::statusBar()->setFixedHeight(41);
|
||||
}
|
||||
|
||||
bool ToolBar::isVisible()
|
||||
|
||||
Reference in New Issue
Block a user