status-desktop/ui/imports/shared/popups/send/controls/AmountInputWithCursor.qml
Lukáš Tinkl a3c9012f4a feat: [UI - Swap] Create swap input component
- new panel created: `SwapInputPanel`
- some cleanups to the needed stores
- created a SB page demonstrating the use of 2 panels and the
`SwapExchangeButton`
- created QML tests

Fixes #14781
2024-06-06 11:13:18 +02:00

25 lines
515 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
StatusAmountInput {
id: cursorInput
leftPadding: 0
rightPadding: 0
topPadding: 0
bottomPadding: 0
placeholderText: ""
input.edit.font.pixelSize: Utils.getFontSizeBasedOnLetterCount(text)
input.placeholderFont.pixelSize: 34
input.edit.padding: 0
input.background.color: "transparent"
input.background.border.width: 0
}