fix: code review
This commit is contained in:
parent
4fef70fc4a
commit
b70a29f059
|
@ -75,16 +75,13 @@ ModalPopup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Input {
|
SearchBox {
|
||||||
id: searchBox
|
id: searchBox
|
||||||
visible: selectChatMembers
|
visible: selectChatMembers
|
||||||
placeholderText: qsTr("Search")
|
|
||||||
icon: "../../../img/search.svg"
|
|
||||||
iconWidth: 17
|
iconWidth: 17
|
||||||
iconHeight: 17
|
iconHeight: 17
|
||||||
onKeyReleased: function(){
|
customHeight: 44
|
||||||
|
fontPixelSize: 15
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Input {
|
Input {
|
||||||
|
|
|
@ -6,6 +6,7 @@ import "./samples/"
|
||||||
import "../../../../../imports"
|
import "../../../../../imports"
|
||||||
import "../../../../../shared"
|
import "../../../../../shared"
|
||||||
import "../../../Chat/components"
|
import "../../../Chat/components"
|
||||||
|
import "."
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
id: contactList
|
id: contactList
|
||||||
|
|
|
@ -16,7 +16,6 @@ Item {
|
||||||
property url icon: ""
|
property url icon: ""
|
||||||
property int iconHeight: 24
|
property int iconHeight: 24
|
||||||
property int iconWidth: 24
|
property int iconWidth: 24
|
||||||
property var onKeyReleased: (function(){})
|
|
||||||
|
|
||||||
readonly property bool hasIcon: icon.toString() !== ""
|
readonly property bool hasIcon: icon.toString() !== ""
|
||||||
readonly property var forceActiveFocus: function () {
|
readonly property var forceActiveFocus: function () {
|
||||||
|
@ -71,7 +70,6 @@ Item {
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: "#00000000"
|
color: "#00000000"
|
||||||
}
|
}
|
||||||
Keys.onReleased: onKeyReleased()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
|
|
Loading…
Reference in New Issue