mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-03 09:14:24 +08:00
Add width to labels in printcore qml object.
This ensures that the elide works correctly CL-896
This commit is contained in:
parent
cd6832544b
commit
7096c7382b
@ -69,6 +69,7 @@ Item
|
|||||||
}
|
}
|
||||||
font: UM.Theme.getFont("default_bold")
|
font: UM.Theme.getFont("default_bold")
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
width: parent.width
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@ -84,7 +85,7 @@ Item
|
|||||||
}
|
}
|
||||||
anchors.top: materialLabel.bottom
|
anchors.top: materialLabel.bottom
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
width: parent.width
|
||||||
opacity: 0.6
|
opacity: 0.6
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user