mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 16:47:24 +00:00
fix(InsertDetailsView): UI fixes
fix some (line)spacing and margin problems Closes: #6453
This commit is contained in:
parent
a4127925df
commit
db4ec6430e
@ -68,21 +68,22 @@ Item {
|
|||||||
StyledText {
|
StyledText {
|
||||||
id: txtDesc
|
id: txtDesc
|
||||||
Layout.preferredWidth: root.state === Constants.startupState.userProfileCreate? 338 : 643
|
Layout.preferredWidth: root.state === Constants.startupState.userProfileCreate? 338 : 643
|
||||||
Layout.preferredHeight: 44
|
|
||||||
Layout.alignment: Qt.AlignTop | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignTop | Qt.AlignHCenter
|
||||||
Layout.topMargin: Style.current.padding
|
Layout.topMargin: Style.current.smallPadding
|
||||||
color: Style.current.secondaryText
|
color: Style.current.secondaryText
|
||||||
text: qsTr("Longer and unusual names are better as they are less likely to be used by someone else.")
|
text: qsTr("Longer and unusual names are better as they are less likely to be used by someone else.")
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
lineHeight: 1.2
|
||||||
|
font.letterSpacing: -0.2
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
implicitWidth: 80
|
Layout.preferredWidth: 80
|
||||||
implicitHeight: 80
|
Layout.preferredHeight: 80
|
||||||
Layout.alignment: Qt.AlignTop | Qt.AlignHCenter
|
Layout.alignment: Qt.AlignTop | Qt.AlignHCenter
|
||||||
Layout.topMargin: 27
|
Layout.topMargin: Style.current.bigPadding
|
||||||
StatusSmartIdenticon {
|
StatusSmartIdenticon {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
id: userImage
|
id: userImage
|
||||||
@ -119,7 +120,7 @@ Item {
|
|||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: nameInputItem
|
id: nameInputItem
|
||||||
implicitWidth: 328
|
Layout.preferredWidth: 328
|
||||||
Layout.preferredHeight: 69
|
Layout.preferredHeight: 69
|
||||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
||||||
Layout.topMargin: 37
|
Layout.topMargin: 37
|
||||||
@ -208,8 +209,9 @@ Item {
|
|||||||
|
|
||||||
StatusButton {
|
StatusButton {
|
||||||
id: nextBtn
|
id: nextBtn
|
||||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
|
Layout.alignment: Qt.AlignHCenter
|
||||||
enabled: !!nameInput.text && nameInput.valid
|
enabled: !!nameInput.text && nameInput.valid
|
||||||
|
font.weight: Font.Medium
|
||||||
text: qsTr("Next")
|
text: qsTr("Next")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (root.state === Constants.startupState.userProfileCreate) {
|
if (root.state === Constants.startupState.userProfileCreate) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user