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 { label: Label {
text: control.text; text: control.text
color: Theme.getColor("checkbox_text"); color: Theme.getColor("checkbox_text")
font: Theme.getFont("default"); font: Theme.getFont("default")
elide: Text.ElideRight
} }
} }
} }