mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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 font: label.font
|
||||||
property alias elide: label.elide
|
property alias elide: label.elide
|
||||||
property real margin: UM.Theme.getSize("narrow_margin").width
|
property real margin: UM.Theme.getSize("narrow_margin").width
|
||||||
|
property alias wrapMode: label.wrapMode
|
||||||
|
|
||||||
// These properties can be used in combination with layouts.
|
// These properties can be used in combination with layouts.
|
||||||
readonly property real contentWidth: icon.width + margin + label.contentWidth
|
readonly property real contentWidth: icon.width + margin + label.contentWidth
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ RowLayout
|
||||||
}
|
}
|
||||||
font: UM.Theme.getFont("medium")
|
font: UM.Theme.getFont("medium")
|
||||||
elide: Text.ElideMiddle
|
elide: Text.ElideMiddle
|
||||||
|
wrapMode: Text.NoWrap
|
||||||
UM.SettingPropertyProvider
|
UM.SettingPropertyProvider
|
||||||
{
|
{
|
||||||
id: layerHeight
|
id: layerHeight
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue