feat: add caret to select input

This commit is contained in:
Jonathan Rainville 2020-06-09 14:54:02 -04:00 committed by Iuri Matias
parent 937dd89146
commit 152dd102dd
2 changed files with 14 additions and 0 deletions

3
ui/app/img/caret.svg Normal file
View File

@ -0,0 +1,3 @@
<svg width="12" height="7" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.46967 0.46967C0.762563 0.176777 1.23744 0.176777 1.53033 0.46967L5.64645 4.58579C5.84171 4.78105 6.15829 4.78105 6.35355 4.58579L10.4697 0.46967C10.7626 0.176777 11.2374 0.176777 11.5303 0.46967C11.8232 0.762563 11.8232 1.23744 11.5303 1.53033L6.88388 6.17678C6.39573 6.66493 5.60427 6.66493 5.11612 6.17678L0.46967 1.53033C0.176777 1.23744 0.176777 0.762563 0.46967 0.46967Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 545 B

View File

@ -77,6 +77,17 @@ Item {
}
}
}
Image {
id: caret
width: 11
height: 6
anchors.right: parent.right
anchors.rightMargin: Theme.padding
anchors.verticalCenter: parent.verticalCenter
fillMode: Image.PreserveAspectFit
source: "../app/img/caret.svg"
}
}
MouseArea {