Improve units.

Authored by mpolicht on Feb 13 2020, 2:27 PM.

Description

Improve units.

Property 'strokeWidth' width is now binded to 'strokeWidthRatio'.

Indirection for 'units' is introduced in Element, so that custom Units
can be provided for each element without the need of modifying whole theme.
It also helps to deal with Qt Creator's Designer, which has troubles with
non-static content, such as when theme is updated from
'Component.onCompleted' handler.

Affected components are updated accordingly.

Details

Committed
mpolichtFeb 13 2020, 2:27 PM
Parents
R1036:9fed1ea5db60: Add 'horizontal' property.
Branches
Unknown
Tags
Unknown
References
refs/keep-around/3ece354bacdee1a4b54c19651d360131f83818ca