Lukáš Tinkl 4dbae17bb9 fix(ConnectDAppModal): don't overflow texts
- set the correct widths and elide mode
- fixup the visuals of the NetworkFilter combo box (to disable it w/o
making it look disabled)
- fix passing the connection status down to DAppCard
2024-07-31 00:10:10 +02:00

39 lines
905 B
QML

import QtQuick 2.15
import QtQuick.Layouts 1.15
import StatusQ.Core 0.1
import StatusQ.Core.Theme 0.1
ColumnLayout {
id: root
spacing: 8
property string dappName: ""
StatusBaseText {
Layout.fillWidth: true
objectName: "permissionsTitle"
text: qsTr("%1 will be able to:").arg(root.dappName)
Layout.preferredHeight: 18
font.pixelSize: 13
elide: Text.ElideMiddle
color: Theme.palette.baseColor1
}
StatusBaseText {
text: qsTr("Check your account balance and activity")
Layout.fillWidth: true
Layout.preferredHeight: 18
elide: Text.ElideRight
font.pixelSize: 13
}
StatusBaseText {
text: qsTr("Request transactions and message signing")
Layout.fillWidth: true
Layout.preferredHeight: 18
elide: Text.ElideRight
font.pixelSize: 13
}
}