From ed170b809287787a73aa3c297fdefa0eaa093b7f Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 18 Apr 2019 21:03:37 -0700 Subject: [PATCH] Prevent the computer name from overflowing the PC grid item --- app/gui/PcView.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/gui/PcView.qml b/app/gui/PcView.qml index cce6585e..a6d3db58 100644 --- a/app/gui/PcView.qml +++ b/app/gui/PcView.qml @@ -14,7 +14,7 @@ CenteredGridView { activeFocusOnTab: true topMargin: 20 bottomMargin: 5 - cellWidth: 310; cellHeight: 350; + cellWidth: 310; cellHeight: 330; objectName: "Computers" Component.onCompleted: { @@ -87,7 +87,7 @@ CenteredGridView { model: computerModel delegate: NavigableItemDelegate { - width: 300; height: 300; + width: 300; height: 320; grid: pcGrid Image { @@ -130,9 +130,11 @@ CenteredGridView { width: parent.width anchors.top: pcIcon.bottom + anchors.bottom: parent.bottom font.pointSize: 36 horizontalAlignment: Text.AlignHCenter wrapMode: Text.Wrap + elide: Text.ElideRight } NavigableMenu {