status-desktop/ui/app/AppLayouts/Wallet/controls/SwapExchangeButton.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

22 lines
527 B
QML

import QtQuick 2.15
import QtQuick.Controls 2.15
import StatusQ.Controls 0.1
import StatusQ.Core.Theme 0.1
StatusButton {
implicitWidth: 44
implicitHeight: 44
icon.name: hovered ? "arrow-up" : "arrow-down"
icon.color: Theme.palette.baseColor1
focusPolicy: Qt.NoFocus
isRoundIcon: true
radius: height/2
normalColor: Theme.palette.indirectColor3
hoverColor: Theme.palette.directColor8
borderWidth: 1
borderColor: hovered ? Theme.palette.directColor7 : Theme.palette.directColor8
}