mirror of
https://github.com/QuasarApp/SoundBand.git
synced 2025-04-27 15:54:31 +00:00
fix
This commit is contained in:
parent
3646611a90
commit
308e3c035c
@ -10,7 +10,12 @@ Item {
|
||||
|
||||
readonly property real rowHeight: Utils.dp(Screen.pixelDensity, 36)
|
||||
readonly property real rowWidth: parent.width;
|
||||
function onItemClick() {
|
||||
readonly property real textmargin: Utils.dp(Screen.pixelDensity, 8)
|
||||
readonly property real textSize: Utils.dp(Screen.pixelDensity, 10)
|
||||
readonly property real buttonHeight: Utils.dp(Screen.pixelDensity, 24)
|
||||
|
||||
function onItemClick(index) {
|
||||
syncEngine.listen(index);
|
||||
}
|
||||
|
||||
Button{
|
||||
@ -44,11 +49,15 @@ Item {
|
||||
id: rectangle;
|
||||
anchors.fill: item
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: rectangle
|
||||
Button {
|
||||
text: qsTr("listen")
|
||||
onClicked: {
|
||||
indicator.active = onItemClick()
|
||||
onItemClick(index)
|
||||
}
|
||||
|
||||
anchors.right: rectangle.right
|
||||
anchors.leftMargin: textmargin
|
||||
anchors.verticalCenter: rectangle.verticalCenter
|
||||
}
|
||||
|
||||
Text {
|
||||
|
Loading…
x
Reference in New Issue
Block a user