https://bugs.kde.org/show_bug.cgi?id=493581

--- Comment #16 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit 1c54d7d246dbb6c2bf083429f40aee07bcbdcf4a by Akseli Lahtinen.
Committed on 10/10/2024 at 09:28.
Pushed by akselmo into branch 'master'.

Modify SelectableLabel to use TextEdit instead

Discussion: https://invent.kde.org/frameworks/kirigami/-/issues/91

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.

M  +166  -40   src/controls/SelectableLabel.qml

https://invent.kde.org/frameworks/kirigami/-/commit/1c54d7d246dbb6c2bf083429f40aee07bcbdcf4a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to