Skip to content
Snippets Groups Projects
Commit bbe5405a authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: Mac fixes

Fixes expression editor on Mac.
The button are properly clickable now.

Change-Id: Ib886abad0237c22e72bfdc4099d329a1279d01e8
Reviewed-on: http://codereview.qt.nokia.com/1841


Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 689d6d44
No related branches found
No related tags found
No related merge requests found
......@@ -80,8 +80,8 @@ QWidget {
styleSheet: "QTextEdit {border-radius: 0px;}"
documentTitle: qsTr("Expression")
width: expressionEdit.width
height: expressionEdit.height
width: expressionEdit.width - 10
height: expressionEdit.height - 10
horizontalScrollBarPolicy: "Qt::ScrollBarAlwaysOff"
verticalScrollBarPolicy: "Qt::ScrollBarAlwaysOff"
......@@ -97,19 +97,19 @@ QWidget {
QPushButton {
focusPolicy: "Qt::NoFocus";
y: expressionEdit.height - 22;
x: expressionEdit.width - 61;
x: expressionEdit.width - 59;
styleSheetFile: "applybutton.css";
width: 29
height: 19
onClicked: {
expressionEdit.backendValue.expression = textEdit.plainText;
expressionEdit.active = false;
}
}
}
QPushButton {
focusPolicy: "Qt::NoFocus";
y: expressionEdit.height - 22;
x: expressionEdit.width - 32;
x: expressionEdit.width - 30;
styleSheetFile: "cancelbutton.css";
width: 29
height: 19
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment