It looks like IF statement does not work. Only blocks after ELSE works.
I have another simple version that works but without IF and LOOPS statements.
I just wanted to do the same using DICTIONARY and it does not work.
Can you help a little?
You cannot treat a component as text. (as in contains text (get key))
You could however setup a dictionary with as key the name of the component (as text) and as value a list with two elements, the component and a number (FontSize)
Then in the for each… loop use the elements of the list to set the FontSize
MIT have tested a solution to provide the button component name, it may be coming in a future update, we will have to wait and see what the priorities are.