mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 20:33:14 +08:00
Fix display of profile name in header
Without no-wrap, longer names would be put on multiple lines. These would then spill out of the display element
This commit is contained in:
parent
d1a42e4e77
commit
2ed68beb22
@ -21,6 +21,7 @@ Item
|
||||
property alias font: label.font
|
||||
property alias elide: label.elide
|
||||
property real margin: UM.Theme.getSize("narrow_margin").width
|
||||
property alias wrapMode: label.wrapMode
|
||||
|
||||
// These properties can be used in combination with layouts.
|
||||
readonly property real contentWidth: icon.width + margin + label.contentWidth
|
||||
|
@ -39,7 +39,7 @@ RowLayout
|
||||
}
|
||||
font: UM.Theme.getFont("medium")
|
||||
elide: Text.ElideMiddle
|
||||
|
||||
wrapMode: Text.NoWrap
|
||||
UM.SettingPropertyProvider
|
||||
{
|
||||
id: layerHeight
|
||||
|
Loading…
x
Reference in New Issue
Block a user