Hi everyone, I need help with debugging my canvas app.
I have one screen with two buttons, and for height property of this buttons I used same formula 'varHeight*0.1' where varHeight is variable that is created on app start as
Set(
varHeight,
Max(
App.Height,
App.DesignHeight
)
);
In edit mode everything is working as expected, but in play mode, and in powerapps app on my phone I have an issue because the height of this buttons is different. Here are screenshots:
so, as you can see on left side is my app opened in edit mode, where everything looks ok, and on right side is my app in play mode. I added label for debugging purposes where I put three numbers, varHeight variable, height of second button and height of first button.
Does anybody have an idea what is happening here?

Report
All responses (
Answers (