AppLauncher focus fix

This commit is contained in:
quadbyte 2025-08-20 12:05:53 -04:00
parent fe3818d531
commit fc9a53fb0d

View file

@ -238,14 +238,15 @@ NPanel {
bottomPadding: 0
font.bold: true
Component.onCompleted: {
contentItem.cursorColor = Color.mOnSurface
contentItem.verticalAlignment = TextInput.AlignVCenter
// contentItem.cursorColor = Color.mOnSurface
// contentItem.verticalAlignment = TextInput.AlignVCenter
// Focus the search bar by default
Qt.callLater(() => {
searchInput.forceActiveFocus()
})
}
onActiveFocusChanged: contentItem.cursorColor = Color.mOnSurface
//onActiveFocusChanged: contentItem.cursorColor = Color.mOnSurface
Keys.onDownPressed: selectNext()
Keys.onUpPressed: selectPrev()