summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-07-27 16:10:19 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2016-07-28 13:29:03 +0000
commit5303a9b48578b75adc7f28a5cf2e21202e975121 (patch)
tree956b5d2127f892bf76cfb57164dea1c7fb2498e6 /share
parentf398e7d22ac710dd8ed7bc110b56424e4e3c6b2f (diff)
downloadqt-creator-5303a9b48578b75adc7f28a5cf2e21202e975121.tar.gz
QmlDesigner.PropertyEditor: Show border between buttons
without this it is not 100% clear that we have separated buttons. Change-Id: I2d8ee228a0104d68e381d23c5435a1b9cb7cf4cb Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/ButtonRowButton.qml2
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/RoundedPanel.qml4
2 files changed, 2 insertions, 4 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/ButtonRowButton.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/ButtonRowButton.qml
index ccaf16a06f..8b956fb6c4 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/ButtonRowButton.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/ButtonRowButton.qml
@@ -65,7 +65,6 @@ Item {
anchors.fill: parent
RoundedPanel {
roundLeft: isFirst() && buttonRowButton.roundLeftButton
- roundRight: isLast()
anchors.fill: parent
visible: checked
@@ -74,7 +73,6 @@ Item {
RoundedPanel {
roundLeft: isFirst()
- roundRight: isLast()
anchors.fill: parent
visible: !checked
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/RoundedPanel.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/RoundedPanel.qml
index a0f3fe1796..2389de12f1 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/RoundedPanel.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/RoundedPanel.qml
@@ -30,8 +30,8 @@ import QtQuick.Layouts 1.0
Rectangle {
id: panel
- property bool roundLeft: false
- property bool roundRight: false
+ property bool roundLeft: true
+ property bool roundRight: true
/*