mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +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.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
color: "blue"
|
||||
color: colors.highlight
|
||||
height: 1
|
||||
width: parent.width
|
||||
|
||||
|
@ -23,7 +23,7 @@ TextInput {
|
|||
|
||||
height: parent.height+1
|
||||
width: 0
|
||||
color: "#000000"
|
||||
color: colors.text
|
||||
|
||||
states: State {
|
||||
name: "focused"; when: input.activeFocus == true
|
||||
|
|
|
@ -10,10 +10,10 @@ Popup {
|
|||
x: parent.width / 2 - width / 2
|
||||
y: parent.height / 4 - height / 2
|
||||
width: parent.width / 2
|
||||
height: textWidth
|
||||
modal: true
|
||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
||||
parent: Overlay.overlay
|
||||
palette: colors
|
||||
|
||||
Overlay.modal: Rectangle {
|
||||
color: "#aa1E1E1E"
|
||||
|
@ -23,7 +23,8 @@ Popup {
|
|||
id: roomTextInput
|
||||
|
||||
anchors.fill: parent
|
||||
font.pixelSize: quickSwitcher.textWidth - 12
|
||||
font.pixelSize: quickSwitcher.textWidth - 24
|
||||
color: colors.text
|
||||
|
||||
onTextEdited: {
|
||||
completerPopup.completer.setSearchString(text)
|
||||
|
|
Loading…
Reference in a new issue