feat: add screen height to font functions in Config. Added actions, inline Reply and urgency to NotificationBody
This commit is contained in:
@@ -55,6 +55,7 @@ PanelWindow {
|
||||
|
||||
color: "white"
|
||||
placeholderTextColor: "#888"
|
||||
font.family: Config.font
|
||||
|
||||
background: Rectangle {
|
||||
|
||||
@@ -67,7 +68,7 @@ PanelWindow {
|
||||
Keys.onReleased: (event) => {
|
||||
if (event.key === Qt.Key_Escape) {
|
||||
console.log("Escape pressed inside TextField")
|
||||
console.log("Pressed Escape, closing Wallpaper Picker")
|
||||
// console.log("Pressed Escape, closing Wallpaper Picker")
|
||||
// wallpaperLoader.active = false
|
||||
filterText.text = ""
|
||||
filterText.focus = false
|
||||
@@ -75,6 +76,13 @@ PanelWindow {
|
||||
pickerScope.focus = true
|
||||
}
|
||||
}
|
||||
onAccepted: {
|
||||
console.log("Enter pressed inside TextField")
|
||||
filterText.text = ""
|
||||
filterText.focus = false
|
||||
event.accepted = true
|
||||
pickerScope.focus = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user