mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 14:18:49 +03:00
fix matrixtextfield color and quickswitcher font size
This commit is contained in:
parent
97c2505619
commit
ebb35e5cb1
2 changed files with 5 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue