Elide labels next to checkboxes

To the available width, if there is a width.
This won't work for right-to-left languages though...

Contributes to issue CURA-4692.
This commit is contained in:
Ghostkeeper 2018-01-15 16:41:33 +01:00
parent 616615067c
commit 064a8e6f6c
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -864,9 +864,10 @@ QtObject {
}
}
label: Label {
text: control.text;
color: Theme.getColor("checkbox_text");
font: Theme.getFont("default");
text: control.text
color: Theme.getColor("checkbox_text")
font: Theme.getFont("default")
elide: Text.ElideRight
}
}
}