Skip to content

Modify SelectableLabel to use TextEdit instead

Discussion: #91 (closed)

SelectableLabel wont resize properly when using QQC2.TextArea, due to TextArea having implicitSize resizing disabled after the initial size.

TextEdit is handled more like a Label is, so it resizes correctly. Wrapping it inside Control and exposing the expected properties and signals it should be a drop-in replacement for the old TextArea based SelectableLabel.

SelectableLabel also has its own, smaller context menu now.

Note that this may be API breaking so we need to do a lot of testing.

CCBUG:493581

Merge request reports

Loading