mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
19e7c42cc2
- unified UI/UX; no code changes, just reduces code duplication - use the correct OS/platform blink interval with `Qt.styleHints.cursorFlashTime`
27 lines
585 B
QML
27 lines
585 B
QML
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
|
|
|
|
import utils 1.0
|
|
|
|
StatusInput {
|
|
id: cursorInput
|
|
|
|
leftPadding: 0
|
|
rightPadding: 0
|
|
topPadding: 0
|
|
bottomPadding: 0
|
|
|
|
placeholderText: ""
|
|
input.edit.objectName: "amountInput"
|
|
input.edit.cursorVisible: true
|
|
input.edit.font.pixelSize: Utils.getFontSizeBasedOnLetterCount(text)
|
|
input.placeholderFont.pixelSize: 34
|
|
input.edit.padding: 0
|
|
input.background.color: "transparent"
|
|
input.background.border.width: 0
|
|
}
|