Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BackupSeedPopup]: Fixed warning message size based on text size #13656

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions ui/app/AppLayouts/Profile/popups/backupseed/Acknowledgements.qml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,12 @@ ColumnLayout {

Item {
anchors.fill: parent
anchors.margins: -1000
anchors.bottomMargin: -root.spacing

clip: true

StatusScrollView {
id: flick

anchors.fill: parent
anchors.margins: -parent.anchors.margins
anchors.bottomMargin: -parent.anchors.bottomMargin
contentWidth: availableWidth

ScrollBar.vertical.policy: ScrollBar.AlwaysOn
Expand Down Expand Up @@ -75,6 +70,7 @@ ColumnLayout {
id: txtDesc
font.pixelSize: Style.current.primaryTextFontSize
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
text: qsTr("Your seed phrase is a 12-word passcode to your funds.")
Layout.fillWidth: true
}
Expand Down Expand Up @@ -130,12 +126,12 @@ ColumnLayout {
}
}

Rectangle {
color: Theme.palette.statusModal.backgroundColor
Item {
Layout.fillWidth: true
Layout.preferredHeight: 60
Layout.preferredHeight: (warningText.contentHeight + Style.current.padding)

StyledText {
id: warningText
anchors.fill: parent
anchors.margins: Style.current.halfPadding
horizontalAlignment: Text.AlignHCenter
Expand Down