Avoid nesting Controls in TextField
ClosedPublic

Authored by davidedmundson on Wed, Apr 24, 5:16 PM.

Details

Summary

Label now has an extra mousearea conflicting with TextField's mouse
area.

Given we're in the overriding font and colour anyway, we may as well use
Text directly to resolve the bug.

It also saves creating an unused Accessiblity attached object.

One extra property is copied from our Label control for complete parity.

BUG: 406851

Test Plan

Moved the mouse about in systemsettings

Diff Detail

Repository
R858 Qt Quick Controls 2: Desktop Style
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Wed, Apr 24, 5:16 PM
Restricted Application added a project: Plasma. · View Herald TranscriptWed, Apr 24, 5:16 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested review of this revision.Wed, Apr 24, 5:16 PM
ngraham accepted this revision.Wed, Apr 24, 6:05 PM
This revision is now accepted and ready to land.Wed, Apr 24, 6:05 PM
This revision was automatically updated to reflect the committed changes.