mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-15 21:22:40 +00:00
Partially working keyboard navigation support
This commit is contained in:
+4
-1
@@ -13,6 +13,8 @@ GridView {
|
||||
property ComputerModel computerModel : createModel()
|
||||
|
||||
id: pcGrid
|
||||
focus: true
|
||||
activeFocusOnTab: true
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: (parent.width % (cellWidth + anchors.rightMargin)) / 2
|
||||
anchors.topMargin: 20
|
||||
@@ -75,8 +77,9 @@ GridView {
|
||||
|
||||
model: computerModel
|
||||
|
||||
delegate: ItemDelegate {
|
||||
delegate: NavigableItemDelegate {
|
||||
width: 300; height: 300;
|
||||
grid: pcGrid
|
||||
|
||||
Image {
|
||||
id: pcIcon
|
||||
|
||||
Reference in New Issue
Block a user