mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 02:05:53 +08:00
Elide the profile text in the middle for the PrintSetupSelector.
This makes sure that at least some part of the name and some part of the variant details (qualityy, diameter) is visible CURA-6862
This commit is contained in:
parent
279d5671d8
commit
ca21268a12
@ -19,6 +19,7 @@ Item
|
||||
property alias color: label.color
|
||||
property alias text: label.text
|
||||
property alias font: label.font
|
||||
property alias elide: label.elide
|
||||
property real margin: UM.Theme.getSize("narrow_margin").width
|
||||
|
||||
// These properties can be used in combination with layouts.
|
||||
|
@ -37,6 +37,7 @@ RowLayout
|
||||
return ""
|
||||
}
|
||||
font: UM.Theme.getFont("medium")
|
||||
elide: Text.ElideMiddle
|
||||
|
||||
UM.SettingPropertyProvider
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user