Error with property block

Hi Koders,
This is Kshitij. I am making a project in which in a horizontal layout there are 3 card views.
On any card view click event, I check if they are the same card view which I told earlier. Then if the statement is true I trigger an event as shown below.
blocks (36)

When this trigger is fired then the set stroke activity is done perfectly but it is also increasing the size and padding of my cardviews when fired multiple times resulting in the card views content to get invisible.



Few more Fires:

Note Fire Means OnClick_Event

Add another variable to store which tab (card view) is active and if the clicked card view is the same as the stored card view in the variable then do not execute the part where the stroke value is changed.

1 Like