Fixing HTML in ComboBox

This commit is contained in:
Sarah Jamie Lewis 2019-02-12 21:08:43 -08:00
parent 71f87c5f70
commit 1c614a9e66
2 changed files with 10 additions and 1 deletions

View File

@ -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
}
}

View File

@ -0,0 +1,7 @@
import QtQuick.Controls.Styles 1.4
import QtQuick 2.7
ComboBoxStyle {
textColor: "#000"
}