Skip to content

Commit ea3618f

Browse files
authored
Show sort-indicator in treeviews (#1328)
1 parent 0c8d123 commit ea3618f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/gtk-4.0/widgets/_treeviews.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,18 @@ treeview {
3333
&:backdrop label {
3434
opacity: 0.6;
3535
}
36+
37+
sort-indicator {
38+
min-height: 16px;
39+
min-width: 16px;
40+
41+
&.ascending {
42+
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
43+
}
44+
45+
&.descending {
46+
-gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
47+
}
48+
}
3649
}
3750
}

0 commit comments

Comments
 (0)