Fixing HTML in ComboBox
This commit is contained in:
parent
71f87c5f70
commit
1c614a9e66
|
@ -8,6 +8,7 @@ import QtQuick.Controls 1.4
|
|||
|
||||
import "../widgets"
|
||||
import "../styles"
|
||||
import "../utils.js" as Utils
|
||||
|
||||
ColumnLayout { // groupSettingsPane
|
||||
anchors.fill: parent
|
||||
|
@ -92,6 +93,7 @@ ColumnLayout { // groupSettingsPane
|
|||
//popup.font.pixelSize: 12
|
||||
width: 200
|
||||
//font.pixelSize: 20
|
||||
style: CwtchComboBoxStyle{}
|
||||
}
|
||||
|
||||
SimpleButton {
|
||||
|
@ -113,7 +115,7 @@ ColumnLayout { // groupSettingsPane
|
|||
txtGroupName.text = name
|
||||
txtServer.text = server
|
||||
txtInvitation.text = invite
|
||||
cbInvite.model = addrbooknames
|
||||
cbInvite.model = addrbooknames.map(function(e){return Utils.htmlEscaped(e)})
|
||||
addrbook = addrbookaddrs
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
import QtQuick.Controls.Styles 1.4
|
||||
import QtQuick 2.7
|
||||
|
||||
|
||||
ComboBoxStyle {
|
||||
textColor: "#000"
|
||||
}
|
Reference in New Issue