I have a button in a Horizontal Arrangement.
It's width is defined as a percentage of it 's parent (that is of the Horizontal Arrangement).
I have this code in the Orientation changed event:
But it does not resize correctly.
I suppose that this is because, when the code is executed, the Horizontal Arrangement has not yet been resized (ot the button 's width hasn't yet changed).
Is there some solution to this?
Inventory_1_7_test_1.aia (6.7 KB)