mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06: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
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue