[fix][ui] StatViewer: Updated Layouts for Stat Viewer

The sub column layouts in the parent column layouts were causing polish loop during show/resize ops
This commit is contained in:
waaake 2024-12-30 09:28:36 +05:30
parent 2f0996f7bf
commit d142a745d0

View file

@ -310,9 +310,6 @@ Item {
*** CPU UI *** *** CPU UI ***
**************************/ **************************/
ColumnLayout {
Layout.fillWidth: true
Button { Button {
id: toggleCpuBtn id: toggleCpuBtn
Layout.fillWidth: true Layout.fillWidth: true
@ -419,15 +416,11 @@ Item {
labelsColor: textColor labelsColor: textColor
} }
} }
}
/************************** /**************************
*** RAM UI *** *** RAM UI ***
**************************/ **************************/
ColumnLayout {
InteractiveChartView { InteractiveChartView {
id: ramChart id: ramChart
margins.top: 0 margins.top: 0
@ -472,15 +465,11 @@ Item {
labelsColor: textColor labelsColor: textColor
} }
} }
}
/************************** /**************************
*** GPU UI *** *** GPU UI ***
**************************/ **************************/
ColumnLayout {
InteractiveChartView { InteractiveChartView {
id: gpuChart id: gpuChart
@ -527,5 +516,4 @@ Item {
} }
} }
} }
}
} }