1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-31 17:42:13 +02:00

added a completion list to InputField, use it for all genres input field

This commit is contained in:
Michael Zanetti
2013-08-04 22:27:53 +02:00
parent 439730ee8a
commit 1131840a23
4 changed files with 79 additions and 4 deletions

View File

@@ -11,6 +11,8 @@ Item {
property int margin: defaultFontHeight * 0.25
property color color: "white"
states: [
State {
name: "hidden"; when: !listView.moving
@@ -48,7 +50,7 @@ Item {
id: background
anchors.fill: parent
radius: orientation == Qt.Vertical ? (width/2 - 1) : (height/2 - 1)
color: "white"
color: scrollBar.color
opacity: 0.2
clip: true
// Size the bar to the required size, depending upon the orientation.
@@ -61,7 +63,7 @@ Item {
width: orientation == Qt.Vertical ? (parent.width-2) : (pageSize * (scrollBar.width-2))
height: orientation == Qt.Vertical ? (pageSize * (scrollBar.height-2)) : (parent.height-2)
radius: orientation == Qt.Vertical ? (width/2 - 1) : (height/2 - 1)
color: "white"
color: scrollBar.color
opacity: 1
}
}