tweak quick switcher
This commit is contained in:
parent
9410670591
commit
49bc9255ad
@ -242,7 +242,7 @@ Control {
|
||||
Layout.preferredWidth: popup.avatarWidth
|
||||
}
|
||||
Label {
|
||||
color: model.index == popup.currentIndex ? palette.highlightedText : palette.text
|
||||
color: model.index == popup.currentIndex ? palette.highlightedText : palette.brightText
|
||||
font.italic: model.isTombstoned
|
||||
font.bold: model.isSpace
|
||||
font.pixelSize: popup.avatarHeight * 0.5
|
||||
|
@ -9,7 +9,7 @@ import im.nheko
|
||||
Popup {
|
||||
id: quickSwitcher
|
||||
|
||||
property int textHeight: Math.round(Qt.application.font.pixelSize * 2.4)
|
||||
property int textHeight: Math.round(Qt.application.font.pixelSize * 2)
|
||||
property int textMargin: Nheko.paddingSmall
|
||||
|
||||
background: null
|
||||
@ -38,7 +38,7 @@ Popup {
|
||||
MatrixTextField {
|
||||
id: roomTextInput
|
||||
|
||||
color: palette.text
|
||||
color: palette.brightText
|
||||
font.pixelSize: Math.ceil(quickSwitcher.textHeight * 0.6)
|
||||
width: parent.width
|
||||
|
||||
@ -70,7 +70,7 @@ Popup {
|
||||
centerRowContent: false
|
||||
completerName: "room"
|
||||
fullWidth: true
|
||||
rowMargin: Math.round(quickSwitcher.textMargin / 2)
|
||||
rowMargin: quickSwitcher.textMargin
|
||||
rowSpacing: quickSwitcher.textMargin
|
||||
visible: roomTextInput.text.length > 0
|
||||
width: parent.width
|
||||
|
Loading…
Reference in New Issue
Block a user