app/qml/components/NextPageDelegate.qml

31 lines
664 B
QML
Raw Normal View History

import QtQuick 2.0
import QtQuick.Controls 2.2
ItemDelegate {
id: control
text: ""
font.pixelSize: options_stack.text_pixelSize
2019-03-08 18:03:27 +01:00
property color textColor: appTheme.style.textColor
contentItem: Text {
text: parent.text
color: control.textColor
font.pixelSize: parent.font.pixelSize
}
width: parent.width
Image {
id: forwardImage
2019-03-08 18:03:27 +01:00
source: appTheme.style.backIcon
rotation: 180
height: control.font.pixelSize
width: height
anchors {
verticalCenter: parent.verticalCenter
right: parent.right
rightMargin: 10
}
}
}