use more non-Layouts

This commit is contained in:
end-4
2025-09-28 13:42:44 +02:00
parent b57e678dc9
commit 0f6c076dda
6 changed files with 46 additions and 42 deletions
@@ -97,7 +97,7 @@ Item { // Bar content region
}
}
RowLayout { // Middle section
Row { // Middle section
id: middleSection
anchors {
top: parent.top
@@ -108,8 +108,7 @@ Item { // Bar content region
BarGroup {
id: leftCenterGroup
Layout.preferredWidth: root.centerSideModuleWidth
Layout.fillHeight: false
implicitWidth: root.centerSideModuleWidth
Resources {
alwaysShowAllResources: root.useShortenedForm === 2
@@ -153,9 +152,8 @@ Item { // Bar content region
MouseArea {
id: rightCenterGroup
implicitWidth: rightCenterGroupContent.implicitWidth
implicitWidth: root.centerSideModuleWidth
implicitHeight: rightCenterGroupContent.implicitHeight
Layout.preferredWidth: root.centerSideModuleWidth
onPressed: {
GlobalStates.sidebarRightOpen = !GlobalStates.sidebarRightOpen;