mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
Change TableView row color and text color when the row is selected
CURA-8066
This commit is contained in:
parent
87d3f6fd22
commit
547698cffc
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ OldControls.TableView
|
|||
Label
|
||||
{
|
||||
id: tableCellLabel
|
||||
color: UM.Theme.getColor("text")
|
||||
color: styleData.selected ? UM.Theme.getColor("primary_button_text") : UM.Theme.getColor("text")
|
||||
elide: Text.ElideRight
|
||||
text: styleData.value
|
||||
anchors.fill: parent
|
||||
|
@ -29,7 +29,7 @@ OldControls.TableView
|
|||
|
||||
rowDelegate: Rectangle
|
||||
{
|
||||
color: styleData.selected ? UM.Theme.getColor("secondary") : UM.Theme.getColor("main_background")
|
||||
color: styleData.selected ? UM.Theme.getColor("primary_button") : UM.Theme.getColor("main_background")
|
||||
height: UM.Theme.getSize("table_row").height
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue