parent
7927c99985
commit
b550a23dfc
|
@ -22,7 +22,7 @@ import "../panels"
|
||||||
StatusModal {
|
StatusModal {
|
||||||
id: popup
|
id: popup
|
||||||
|
|
||||||
property int marginBetweenInputs: 38
|
property int marginBetweenInputs: Style.dp(38)
|
||||||
property string passwordValidationError: ""
|
property string passwordValidationError: ""
|
||||||
property bool loading: false
|
property bool loading: false
|
||||||
property var emojiPopup: null
|
property var emojiPopup: null
|
||||||
|
@ -125,14 +125,16 @@ StatusModal {
|
||||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||||
topPadding: Style.current.halfPadding
|
topPadding: Style.current.halfPadding
|
||||||
bottomPadding: Style.current.halfPadding
|
bottomPadding: Style.current.halfPadding
|
||||||
height: 400
|
leftPadding: Style.current.padding
|
||||||
|
rightPadding: Style.current.padding
|
||||||
|
height: Style.dp(400)
|
||||||
clip: true
|
clip: true
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
property alias accountNameInput: accountNameInput
|
property alias accountNameInput: accountNameInput
|
||||||
width: popup.width
|
width: parent.width
|
||||||
spacing: Style.current.halfPadding
|
spacing: Style.current.halfPadding
|
||||||
topPadding: 20
|
topPadding: Style.dp(20)
|
||||||
|
|
||||||
// To-Do Password hidden option not supported in StatusQ StatusBaseInput
|
// To-Do Password hidden option not supported in StatusQ StatusBaseInput
|
||||||
Item {
|
Item {
|
||||||
|
@ -142,8 +144,6 @@ StatusModal {
|
||||||
Input {
|
Input {
|
||||||
id: passwordInput
|
id: passwordInput
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.leftMargin: Style.current.padding
|
|
||||||
anchors.rightMargin: Style.current.padding
|
|
||||||
|
|
||||||
//% "Enter your password…"
|
//% "Enter your password…"
|
||||||
placeholderText: qsTrId("enter-your-password…")
|
placeholderText: qsTrId("enter-your-password…")
|
||||||
|
@ -162,13 +162,14 @@ StatusModal {
|
||||||
|
|
||||||
StatusInput {
|
StatusInput {
|
||||||
id: accountNameInput
|
id: accountNameInput
|
||||||
|
width: parent.width
|
||||||
//% "Enter an account name..."
|
//% "Enter an account name..."
|
||||||
input.placeholderText: qsTrId("enter-an-account-name...")
|
input.placeholderText: qsTrId("enter-an-account-name...")
|
||||||
//% "Account name"
|
//% "Account name"
|
||||||
label: qsTrId("account-name")
|
label: qsTrId("account-name")
|
||||||
input.isIconSelectable: true
|
input.isIconSelectable: true
|
||||||
input.icon.color: colorSelectionGrid.selectedColor ? colorSelectionGrid.selectedColor : Theme.palette.directColor1
|
input.icon.color: colorSelectionGrid.selectedColor ? colorSelectionGrid.selectedColor : Theme.palette.directColor1
|
||||||
input.leftPadding: 16
|
input.leftPadding: Style.current.padding
|
||||||
onIconClicked: {
|
onIconClicked: {
|
||||||
popup.emojiPopup.open()
|
popup.emojiPopup.open()
|
||||||
popup.emojiPopup.emojiSize = StatusQUtils.Emoji.size.verySmall
|
popup.emojiPopup.emojiSize = StatusQUtils.Emoji.size.verySmall
|
||||||
|
|
Loading…
Reference in New Issue