QmlDesigner: Fix property panes top part layout

Search bar was not visible at all and texture pane had weird order
with preview above toolbars.

Change-Id: I13d0c5383919ba79e54d3fb4a754d9091a7a480c
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
This commit is contained in:
Miikka Heikkinen
2025-03-25 17:34:35 +02:00
parent 989aca8690
commit 9d614131a2
2 changed files with 6 additions and 6 deletions

View File

@@ -34,16 +34,14 @@ Rectangle {
Layout.fillWidth: true
}
Texture.TopSection {
id: topSection
Layout.fillWidth: true
}
PropertyEditorPane {
Layout.fillWidth: true
Layout.fillHeight: true
headerComponent: Texture.TopSection {
id: topSection
}
DynamicPropertiesSection {
propertiesModel: PropertyEditorDynamicPropertiesModel {}
visible: !hasMultiSelection

View File

@@ -39,6 +39,7 @@ Rectangle {
id: propertySearchBar
contentItem: mainColumn
anchors.top: itemPane.top
width: parent.width
z: parent.z + 1
}
@@ -73,6 +74,7 @@ Rectangle {
Rectangle {
id: stateSection
anchors.top: toolbar.bottom
width: itemPane.width
height: StudioTheme.Values.height + StudioTheme.Values.controlGap * 2
color: StudioTheme.Values.themePanelBackground