Hello,
I want to get height of a vertical arrangement (in px) When It’s height and width set to “Automatic” or “Fill parent”. When I call Vertical_Arrangement1.height
event, It shows 0px. The arrangement is visible and has some components.
you cant do that, then it will return just the value, it can be percent or pixels
It returns only 0(zero).
yes because it’s automatic
it will resize accordingly all the components inside
Ok and thanks
if you’re problem is solved then tick my post as solution, thanks
Is this one placed in another arrangement which is hidden
Can you show your relevant block as it is working for me
Yes, It was placed in hidden arrangement. But I was making hidden arrangement visible before calling get.height
block and just after it getting height.
Now, it working fine after using clock
.
As this this is executed at the same time, the arrangement hight is still on zero
And yes this is the way to go
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.