PowerPanel polishing
This commit is contained in:
parent
6538ef1459
commit
3de8c0af13
5 changed files with 112 additions and 109 deletions
|
|
@ -238,16 +238,11 @@ NPanel {
|
|||
bottomPadding: 0
|
||||
font.bold: true
|
||||
Component.onCompleted: {
|
||||
|
||||
// contentItem.cursorColor = Color.mOnSurface
|
||||
// contentItem.verticalAlignment = TextInput.AlignVCenter
|
||||
// Focus the search bar by default
|
||||
Qt.callLater(() => {
|
||||
searchInput.forceActiveFocus()
|
||||
})
|
||||
}
|
||||
//onActiveFocusChanged: contentItem.cursorColor = Color.mOnSurface
|
||||
|
||||
Keys.onDownPressed: selectNext()
|
||||
Keys.onUpPressed: selectPrev()
|
||||
Keys.onEnterPressed: activateSelected()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue