on xenial help sign in
Use Icon instead of Image so we can use color :)
commit3c458234d18157a33ba06347c4388cd9c5465d88 authorAlbert Astals <albert.astals@canonical.com> dateTue 1 Jul 2014, 17:26 (12 years ago) parentcafd35d
1 file changed+5−6
qml/Dash/DashDepartments.qml+5−6
qml/Dash/DashDepartments.qml+5−6
@@ -82,16 +82,15 @@ AbstractButton {
8282 color: root.foregroundColor
8383 }
8484
85− Image {
86− // TODO Use Icon here and use root.foregroundColor as keyColor
85+ Icon {
8786 anchors.verticalCenter: parent.verticalCenter
8887 anchors.right: parent.right
8988 anchors.rightMargin: units.gu(2)
9089 rotation: showList ? 180 : 0
91− source: "image://theme/dropdown-menu"
92− sourceSize.height: parent.height - units.gu(2)
93− sourceSize.width: units.gu(2)
94− fillMode: Image.PreserveAspectFit
90+ name: "dropdown-menu"
91+ height: parent.height - units.gu(3)
92+ width: units.gu(2)
93+ color: root.foregroundColor
9594 }
9695
9796 // departmentListView is outside root