@ -60,7 +60,7 @@ RowLayout {
Layout.preferredHeight: width
}
Column {
ColumnLayout {
Layout.fillWidth: true
Layout.alignment: Qt . AlignTop
spacing: 0
@ -70,7 +70,7 @@ RowLayout {
}
PlasmaComponents3 . Slider {
width: parent . width
Layout.fillWidth: true
from: 0
to: 2
@ -103,7 +103,8 @@ RowLayout {
}
RowLayout {
width: parent . width
Layout.fillWidth: true
spacing: 0
Repeater {
model: root . profileData
@ -112,9 +113,11 @@ RowLayout {
readonly property bool isFirstItem: index === 0
readonly property bool isLastItem: index === root . profileData . length - 1
horizontalAlignment: isFirstItem ? Text.AlignLeft : ( isLastItem ? Text.AlignRight : Text . AlignHCenter )
/ / S a m e p r e f e r r e d W i d t h c o m b i n e d w i t h f i l l W i d t h r e s u l t s i n e q u a l s i z e s f o r a l l
Layout.fillWidth: true
Layout.preferredWidth: 50 / / C o m m o n w i d t h f o r b e t t e r a l i g n m e n t
Layout.preferredWidth: 1
horizontalAlignment: isFirstItem ? Text.AlignLeft : ( isLastItem ? Text.AlignRight : Text . AlignHCenter )
/ / D i s a b l e l a b e l f o r i n h i b i t e d i t e m s t o r e i n f o r c e u n a v a i l a b i l i t y
enabled: ! ( root . profileData [ index ] . canBeInhibited && root . inhibited )
@ -126,8 +129,9 @@ RowLayout {
/ / N O T E O n l y o n e o f t h e s e w i l l b e v i s i b l e a t a t i m e s i n c e t h e d a e m o n w i l l o n l y s e t o n e d e p e n d i n g
/ / o n i t s v e r s i o n
InhibitionHint {
Layout.fillWidth: true
visible: root . inhibited
width: parent . width
iconSource: "dialog-information"
text: switch ( root . inhibitionReason ) {
case "lap-detected" :
@ -140,8 +144,9 @@ RowLayout {
}
InhibitionHint {
Layout.fillWidth: true
visible: root . activeProfile === "performance" && root . degradationReason !== ""
width: parent . width
iconSource: "dialog-information"
text: switch ( root . degradationReason ) {
case "lap-detected" :