mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
3ea2ba18f2
- create a custom circle button component for the Swap popup, with the needed click event and a border area that can be overlaped with the background as it looks in the design Fixes #14782
38 lines
674 B
QML
38 lines
674 B
QML
import QtQuick 2.14
|
|
import QtQuick.Controls 2.14
|
|
|
|
import StatusQ.Core 0.1
|
|
|
|
import AppLayouts.Wallet.controls 1.0
|
|
|
|
import Storybook 1.0
|
|
|
|
SplitView {
|
|
id: root
|
|
|
|
Logs { id: logs }
|
|
|
|
orientation: Qt.Vertical
|
|
|
|
Item {
|
|
SplitView.fillWidth: true
|
|
SplitView.fillHeight: true
|
|
SwapExchangeButton {
|
|
id: button
|
|
anchors.centerIn: parent
|
|
onClicked: logs.logEvent("onClicked", [], arguments)
|
|
}
|
|
}
|
|
|
|
LogsAndControlsPanel {
|
|
id: logsAndControlsPanel
|
|
|
|
SplitView.minimumHeight: 100
|
|
SplitView.preferredHeight: 200
|
|
|
|
logsView.logText: logs.logText
|
|
}
|
|
}
|
|
|
|
// category: Controls
|