diff options
author | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2020-10-20 13:54:36 +0300 |
---|---|---|
committer | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2020-10-21 12:17:10 +0300 |
commit | d98e2e6d293031c70484eddf7f4e65e4c2455708 (patch) | |
tree | 44c20d588c0a71e6711adcc19beb5bf5a2d72e0e /src/Authoring/Qt3DStudio/Palettes | |
parent | 947ff0377e17e0154111afbbaab623f9491c1051 (diff) |
Fix inspector controls for 5.15
Change-Id: Ifc8fe6520c15f54325fecc55741ce23d94c0a056
Reviewed-by: Tony Leinonen <tony.leinonen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/Qt3DStudio/Palettes')
3 files changed, 3 insertions, 4 deletions
diff --git a/src/Authoring/Qt3DStudio/Palettes/Inspector/InspectorControlView.qml b/src/Authoring/Qt3DStudio/Palettes/Inspector/InspectorControlView.qml index 3d7be060..5097fa85 100644 --- a/src/Authoring/Qt3DStudio/Palettes/Inspector/InspectorControlView.qml +++ b/src/Authoring/Qt3DStudio/Palettes/Inspector/InspectorControlView.qml @@ -192,7 +192,7 @@ Rectangle { property int indexOfThisDelegate: index - width: parent.width + width: groupElements.width height: items.height color: "transparent"; ListView.delayRemove: true diff --git a/src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.qml b/src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.qml index d958152b..c72be3cc 100644 --- a/src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.qml +++ b/src/Authoring/Qt3DStudio/Palettes/Project/ProjectView.qml @@ -82,7 +82,7 @@ Rectangle { property bool dragging: false property bool dragStarted: false property point pressPoint - width: parent.width + width: projectTree.width height: 20 color: (index == projectTree.currentIndex || dragging) ? _selectionColor : "transparent" diff --git a/src/Authoring/Qt3DStudio/Palettes/Slide/SlideView.qml b/src/Authoring/Qt3DStudio/Palettes/Slide/SlideView.qml index 7100ed8a..c3393702 100644 --- a/src/Authoring/Qt3DStudio/Palettes/Slide/SlideView.qml +++ b/src/Authoring/Qt3DStudio/Palettes/Slide/SlideView.qml @@ -198,9 +198,8 @@ Rectangle { property int dragIndex property bool held : false - anchors.horizontalCenter: parent.horizontalCenter height: delegateItem.height - width: parent.width + width: slideList.width acceptedButtons: Qt.RightButton | Qt.LeftButton drag.target: held ? delegateItem : null |