2022-03-18 15:47:51 +01:00
|
|
|
import QtQuick 2.14
|
|
|
|
import QtQuick.Controls 2.14
|
|
|
|
|
|
|
|
import StatusQ.Controls 0.1
|
|
|
|
import StatusQ.Core 0.1
|
|
|
|
import StatusQ.Core.Theme 0.1
|
|
|
|
|
2022-12-14 22:06:14 +01:00
|
|
|
import utils 1.0
|
|
|
|
|
2022-03-18 15:47:51 +01:00
|
|
|
StatusInput {
|
|
|
|
id: cursorInput
|
|
|
|
|
|
|
|
leftPadding: 0
|
|
|
|
rightPadding: 0
|
2023-01-05 01:30:06 +01:00
|
|
|
topPadding: 0
|
|
|
|
bottomPadding: 0
|
2022-03-18 15:47:51 +01:00
|
|
|
|
2022-07-22 13:28:04 +03:00
|
|
|
placeholderText: ""
|
2022-07-21 14:15:02 +02:00
|
|
|
input.edit.objectName: "amountInput"
|
2022-03-18 15:47:51 +01:00
|
|
|
input.edit.cursorVisible: true
|
2022-12-14 22:06:14 +01:00
|
|
|
input.edit.font.pixelSize: Utils.getFontSizeBasedOnLetterCount(text)
|
|
|
|
input.placeholderFont.pixelSize: 34
|
2022-03-18 15:47:51 +01:00
|
|
|
input.edit.padding: 0
|
|
|
|
input.background.color: "transparent"
|
|
|
|
input.background.border.width: 0
|
|
|
|
}
|