Change sidebar font color based on selected prop

This commit is contained in:
2022-08-19 13:37:49 -04:00
parent 94a69d383b
commit 2917767f4f
+1 -1
View File
@@ -8,10 +8,10 @@ Rectangle {
height: parent.height * 0.08 height: parent.height * 0.08
Row { Row {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
//Item { width: 50; height: 100}
Text { Text {
font.pointSize: 15 font.pointSize: 15
text: name text: name
color: selected ? "white" : "black"
} }
} }
} }