Fix binding loop in ClipboardItemDelegate

Authored by davidedmundson on Jun 8 2017, 11:39 AM.

Description

Fix binding loop in ClipboardItemDelegate

Label has verticalAlignment: lineCount > 1 ? Text.AlignTop :
Text.AlignVCenter

but in this delegate the height stretches to fit the text:

  • height depends on verticalAlignment
  • lineCount depends on height

creating a loop with this in the middle.

In this case we always want delegates in the middle, so we can just
override the superclass.

Details

Committed
davidedmundsonJun 8 2017, 11:39 AM
Parents
R120:063202dde066: Squelch warning.
Branches
Unknown
Tags
Unknown