Prevent the computer name from overflowing the PC grid item
This commit is contained in:
parent
ac36fef968
commit
ed170b8092
1 changed files with 4 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ CenteredGridView {
|
||||||
activeFocusOnTab: true
|
activeFocusOnTab: true
|
||||||
topMargin: 20
|
topMargin: 20
|
||||||
bottomMargin: 5
|
bottomMargin: 5
|
||||||
cellWidth: 310; cellHeight: 350;
|
cellWidth: 310; cellHeight: 330;
|
||||||
objectName: "Computers"
|
objectName: "Computers"
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
|
@ -87,7 +87,7 @@ CenteredGridView {
|
||||||
model: computerModel
|
model: computerModel
|
||||||
|
|
||||||
delegate: NavigableItemDelegate {
|
delegate: NavigableItemDelegate {
|
||||||
width: 300; height: 300;
|
width: 300; height: 320;
|
||||||
grid: pcGrid
|
grid: pcGrid
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
|
|
@ -130,9 +130,11 @@ CenteredGridView {
|
||||||
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
anchors.top: pcIcon.bottom
|
anchors.top: pcIcon.bottom
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
font.pointSize: 36
|
font.pointSize: 36
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
|
|
||||||
NavigableMenu {
|
NavigableMenu {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue