Re: [SailfishDevel] Conditional QML element

2020-04-06 Thread Андрей Кожевников
wrap inside Component and set using sourceComponent property вт, 7 апр. 2020 г. в 01:13, E.S. Rosenberg < es.rosenberg+sailfishos@gmail.com>: > Hi all, > In the application I maintain (gPodder) I would like to show an element > holding Image(s) in each ListItem, depending on whether or not

[SailfishDevel] Conditional QML element

2020-04-06 Thread E.S. Rosenberg
Hi all, In the application I maintain (gPodder) I would like to show an element holding Image(s) in each ListItem, depending on whether or not the ListItem has a property either a component with 2 images or a component with 1 image should be loaded (an possibly also a no image fallback). I have