moment/harmonyqml/components/Base/HTextField.qml

18 lines
388 B
QML
Raw Normal View History

2019-04-27 06:02:20 +10:00
import QtQuick 2.7
import QtQuick.Controls 2.0
TextField {
2019-04-29 05:13:18 +10:00
property alias backgroundColor: textFieldBackground.color
2019-04-27 06:02:20 +10:00
font.family: HStyle.fontFamily.sans
font.pixelSize: HStyle.fontSize.normal
2019-04-29 05:13:18 +10:00
color: HStyle.colors.foreground
2019-04-29 05:13:18 +10:00
background: Rectangle {
id: textFieldBackground
color: HStyle.controls.textField.background
}
2019-04-27 06:02:20 +10:00
selectByMouse: true
}