mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 19:31:16 -07:00
Wrap the disabled text in case it's too long.
Contributes to CURA-5941.
This commit is contained in:
parent
437ba3848d
commit
590e8f5eb1
1 changed files with 3 additions and 1 deletions
|
|
@ -106,13 +106,15 @@ Item
|
||||||
{
|
{
|
||||||
id: disabledLabel
|
id: disabledLabel
|
||||||
visible: !base.enabled
|
visible: !base.enabled
|
||||||
|
anchors.fill: parent
|
||||||
leftPadding: background.padding
|
leftPadding: background.padding
|
||||||
|
rightPadding: background.padding
|
||||||
text: "This component is disabled"
|
text: "This component is disabled"
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
height: parent.height
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
|
|
||||||
Item
|
Item
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue