mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-26 02:15:33 +02:00
misc: cleanup some warnings
Change-Id: I33776abf89b5aced6006e517a5878baf0a40cc8e
This commit is contained in:
parent
5edbf812bc
commit
a5d930b3f7
5 changed files with 9 additions and 6 deletions
|
@ -53,7 +53,7 @@ Item {
|
||||||
property alias verticalAlignment: lineEdit.verticalAlignment
|
property alias verticalAlignment: lineEdit.verticalAlignment
|
||||||
property alias horizontalAlignment: lineEdit.horizontalAlignment
|
property alias horizontalAlignment: lineEdit.horizontalAlignment
|
||||||
property alias font: lineEdit.font
|
property alias font: lineEdit.font
|
||||||
property var placeholderText
|
property var placeholderText: ""
|
||||||
property alias placeholderTextColor: lineEdit.placeholderTextColor
|
property alias placeholderTextColor: lineEdit.placeholderTextColor
|
||||||
property alias backgroundColor: lineEdit.backgroundColor
|
property alias backgroundColor: lineEdit.backgroundColor
|
||||||
property var editIconColor: "transparent"
|
property var editIconColor: "transparent"
|
||||||
|
|
|
@ -25,8 +25,7 @@ import net.jami.Constants 1.1
|
||||||
EditableLineEdit {
|
EditableLineEdit {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
placeholderText: isRendezVous ? JamiStrings.chooseAName :
|
placeholderText: JamiStrings.chooseYourUserName
|
||||||
JamiStrings.chooseYourUserName
|
|
||||||
|
|
||||||
firstIco: readOnly? "" : JamiResources.person_24dp_svg
|
firstIco: readOnly? "" : JamiResources.person_24dp_svg
|
||||||
firstIcoColor: "#03B9E9"
|
firstIcoColor: "#03B9E9"
|
||||||
|
|
|
@ -81,6 +81,7 @@ ItemDelegate {
|
||||||
|
|
||||||
color: JamiTheme.textColor
|
color: JamiTheme.textColor
|
||||||
text: textMetricsContactPickerContactName.elidedText
|
text: textMetricsContactPickerContactName.elidedText
|
||||||
|
textFormat: TextEdit.PlainText
|
||||||
font.pointSize: JamiTheme.textFontSize
|
font.pointSize: JamiTheme.textFontSize
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,6 +103,7 @@ ItemDelegate {
|
||||||
}
|
}
|
||||||
|
|
||||||
text: textMetricsContactPickerContactId.elidedText
|
text: textMetricsContactPickerContactId.elidedText
|
||||||
|
textFormat: TextEdit.PlainText
|
||||||
font.pointSize: JamiTheme.textFontSize
|
font.pointSize: JamiTheme.textFontSize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,7 @@ Rectangle {
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
id: identifierDescription
|
id: identifierDescription
|
||||||
|
|
||||||
anchors.top: welcome.bottom
|
anchors.top: welcome.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.topMargin: JamiTheme.preferredMarginSize
|
anchors.topMargin: JamiTheme.preferredMarginSize
|
||||||
|
@ -116,7 +116,7 @@ Rectangle {
|
||||||
JamiIdentifier {
|
JamiIdentifier {
|
||||||
id: identifier
|
id: identifier
|
||||||
editable: true
|
editable: true
|
||||||
|
|
||||||
anchors.top: identifierDescription.bottom
|
anchors.top: identifierDescription.bottom
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.margins: JamiTheme.preferredMarginSize
|
anchors.margins: JamiTheme.preferredMarginSize
|
||||||
|
@ -157,7 +157,7 @@ Rectangle {
|
||||||
|
|
||||||
Flow {
|
Flow {
|
||||||
id: flow
|
id: flow
|
||||||
spacing: 12
|
spacing: 13
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
model: TipsModel
|
model: TipsModel
|
||||||
|
|
|
@ -134,6 +134,8 @@ Rectangle {
|
||||||
Layout.topMargin: 15
|
Layout.topMargin: 15
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
Layout.preferredWidth: Math.min(440, root.width - JamiTheme.preferredMarginSize * 2)
|
Layout.preferredWidth: Math.min(440, root.width - JamiTheme.preferredMarginSize * 2)
|
||||||
|
placeholderText: isRendezVous ? JamiStrings.chooseAName :
|
||||||
|
JamiStrings.chooseYourUserName
|
||||||
|
|
||||||
focus: visible
|
focus: visible
|
||||||
fontSize: 18
|
fontSize: 18
|
||||||
|
|
Loading…
Add table
Reference in a new issue