Skip to content
Commit 20825283 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Make handling of ItemDelegate and subtypes' indicator space consistent

When there is an indicator, we should make sure to reserve space for it
so that applications don't have to deal with it when overriding the
contentItem. Additionally, we want to make sure that the indicator is
placed on the left side of the delegate as that matches with what we
have been doing so far.

Unfortunately, the only way I could find to reserve space for the
indicator is by overriding left/right padding, which means this will
break if it is explicitly set by the application. I don't really know a
better solution however, as anything inside the contentItem breaks as
soon as the contentItem is replaced.
parent 89c2947d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment