Hi All,
I am new to canvas apps. recently i have been working on embedding a canvas app in a model driven app.
I want the canvas app to be responsive based on the browser size, however it does not work.
Below is the design i am trying to make responsive.
(Screenshot from power apps editor)
Screenshot form Model Driven app -
However when i change the window size, the fields re-arrange themselves in totally haphazard manner
Below are the formulas i have applied -
Screen width = Max(App.Width,App.DesignWidth)
Screen Height = Max(App.Height,App.DesignHeight)
Placed a Edit Form
width = Parent.width
Height = Parent.height
Placed 8 datacards in each row on the form (as shown in above screenshot) -
1st Datacard
X=0 , Y = 0
Width = Parent.Width / 5
Remaining Datacard
Width = (Parent.Width - Width of 1st Datacard)/7
X= X Position of 1st Datacard + Width of 1st Datacard
Y = Y Position of 1st Datacard
Height = Height of 1st Datacard
When resizing the window, the fields do not maintain the position. Please suggest what is wrong with my approach. I have also disabled the Scale to Fit option.

Report
All responses (
Answers (