fix matrixtextfield color and quickswitcher font size

This commit is contained in:
Jedi18 2021-02-23 22:07:45 +05:30
parent 97c2505619
commit ebb35e5cb1
2 changed files with 5 additions and 4 deletions

View file

@ -11,7 +11,7 @@ TextInput {
anchors.top: parent.bottom anchors.top: parent.bottom
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
color: "blue" color: colors.highlight
height: 1 height: 1
width: parent.width width: parent.width
@ -23,7 +23,7 @@ TextInput {
height: parent.height+1 height: parent.height+1
width: 0 width: 0
color: "#000000" color: colors.text
states: State { states: State {
name: "focused"; when: input.activeFocus == true name: "focused"; when: input.activeFocus == true

View file

@ -10,10 +10,10 @@ Popup {
x: parent.width / 2 - width / 2 x: parent.width / 2 - width / 2
y: parent.height / 4 - height / 2 y: parent.height / 4 - height / 2
width: parent.width / 2 width: parent.width / 2
height: textWidth
modal: true modal: true
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
parent: Overlay.overlay parent: Overlay.overlay
palette: colors
Overlay.modal: Rectangle { Overlay.modal: Rectangle {
color: "#aa1E1E1E" color: "#aa1E1E1E"
@ -23,7 +23,8 @@ Popup {
id: roomTextInput id: roomTextInput
anchors.fill: parent anchors.fill: parent
font.pixelSize: quickSwitcher.textWidth - 12 font.pixelSize: quickSwitcher.textWidth - 24
color: colors.text
onTextEdited: { onTextEdited: {
completerPopup.completer.setSearchString(text) completerPopup.completer.setSearchString(text)