diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/PropertyFrame.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/PropertyFrame.qml index 4d1136c8b26373fc9cceae011f5cbaf2e7c0cfce..14bd2d7966589c93c0a7bff98a6816839d8f3f2b 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/PropertyFrame.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/PropertyFrame.qml @@ -4,6 +4,6 @@ import Bauhaus 1.0 WidgetFrame { id: propertyFrame; - minimumWidth: 360; + minimumWidth: 300; styleSheetFile: "propertyEditor.css"; } diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp index 3251287bb637ff646394ca5c73a3610c771ad060..ba83b7ccac6e517d8b8022fb6cb0b20d95b36802 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp @@ -257,7 +257,7 @@ PropertyEditor::PropertyEditor(QWidget *parent) : file.open(QFile::ReadOnly); QString styleSheet = QLatin1String(file.readAll()); m_stackedWidget->setStyleSheet(styleSheet); - m_stackedWidget->setMinimumWidth(360); + m_stackedWidget->setMinimumWidth(300); m_collapseButton->raise(); m_collapseButton->show(); connect(m_collapseButton, SIGNAL(expand()), this, SLOT(expand())); @@ -465,7 +465,7 @@ void PropertyEditor::changeExpression(const QString &name) void PropertyEditor::expand() { - m_stackedWidget->setMinimumWidth(360); + m_stackedWidget->setMinimumWidth(300); m_stackedWidget->setMaximumWidth(1000); m_stackedWidget->parentWidget()->layout()->update();