Commit d83a68c6 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: reducing minimum size from 360 to 300

parent 2847147f
......@@ -4,6 +4,6 @@ import Bauhaus 1.0
WidgetFrame {
id: propertyFrame;
minimumWidth: 360;
minimumWidth: 300;
styleSheetFile: "propertyEditor.css";
}
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment