summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2019-03-15 09:10:02 +0200
committerTomi Korpipää <tomi.korpipaa@qt.io>2019-03-15 09:16:02 +0000
commit23e5839cd7b351c48618b213fd0f48f08166c25c (patch)
tree6d0b554e6c71cefefedffde6b14ff2a0edad80d5
parenteb1b1581ad3f76a727e983a2c82c8012d520eb9a (diff)
Fix variant label cropping on macOS
Task-number: QT3DS-3163 Change-Id: I91d943070f4ed425e8763c56f1f8bec7b7d46288 Reviewed-by: Janne Kangas <janne.kangas@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r--src/Authoring/Studio/Palettes/Inspector/InspectorControlView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.qml b/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.qml
index 80fa69de..a94f5f34 100644
--- a/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.qml
+++ b/src/Authoring/Studio/Palettes/Inspector/InspectorControlView.qml
@@ -1161,7 +1161,7 @@ Rectangle {
maxGroupLabelWidth = 20; // min group label width
if (item.groupLabelWidth > maxGroupLabelWidth) {
- maxGroupLabelWidth = item.groupLabelWidth;
+ maxGroupLabelWidth = item.groupLabelWidth + 5;
if (maxGroupLabelWidth > 150) // max group label width
maxGroupLabelWidth = 150;
@@ -1230,7 +1230,7 @@ Rectangle {
ToolButton {
id: addGroupButton
text: qsTr("+ Group")
- width: 60
+ width: 65
height: 25
onClicked: {
_variantsGroupModel.addNewGroup()