on xenial help sign in
↑ ↓ button
commit2cb896d47e61fd4d85e999630ca2dcdf2b29dfad authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 8 Oct 2015, 12:25 (11 years ago) parentf37feb5
1 file changed+11−1
qml/Dash/Filters/FilterOptionSelector.qml+11−1
qml/Dash/Filters/FilterOptionSelector.qml+11−1
@@ -25,7 +25,6 @@ FilterWidget {
2525
2626 ListItems.Expandable {
2727 id: expandingItem
28− // TODO ↑ ↓ button
2928
3029 expandedHeight: collapsedHeight + column.height
3130 width: parent.width
@@ -41,9 +40,20 @@ FilterWidget {
4140 width: parent.width
4241
4342 Label {
43+ anchors.left: parent.left
44+ anchors.right: dropDown.left
4445 anchors.verticalCenter: parent.verticalCenter
4546 text: widgetData.label
4647 }
48+
49+ Image {
50+ id: dropDown
51+ height: units.gu(3)
52+ fillMode: Image.PreserveAspectFit
53+ anchors.right: parent.right
54+ anchors.verticalCenter: parent.verticalCenter
55+ source: expandingItem.expanded ? "image://theme/up" : "image://theme/down"
56+ }
4757 }
4858
4959 Column {