Change sidebar font color based on selected prop
This commit is contained in:
@@ -8,10 +8,10 @@ Rectangle {
|
||||
height: parent.height * 0.08
|
||||
Row {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
//Item { width: 50; height: 100}
|
||||
Text {
|
||||
font.pointSize: 15
|
||||
text: name
|
||||
color: selected ? "white" : "black"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user