cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Components Display In Different Positions When In Play Mode vs. Studio Mode

I am building a game that requires tiles to be placed on a 4x4 grid.  When I am editing in PowerApps Studio the tiles are arranged properly but when I open the app in Play Mode all of the tiles are stacked on top of each other.

 

EditvsPlay.png

 

The X & Y properties for tile "P" (GridTile_11) are:

 

X: 40
Y: 200

 

The X&Y properties for tile "Y" (GridTile_21) are:

 

X: GridTile_11.X+GridTile_21.GridXOffset
Y: GridTile_11.Y+GridTile_21.GridYOffset

 

Each GridTile is a Canvas App Component.  GridTile_21 has these custom properties.

 

---Input Properties----
GridXPosition: 2
GridYPosition: 1

----Output Properties----
GridXOffset: (GridTile.Width-GridTile.BorderThickness/2)*(GridTile.GridXPosition-1)
GridYOffset: (GridTile.Height-GridTile.BorderThickness/2)*(GridTile.GridYPosition-1)

 

Finally, I am unsure if this matters but I have set the GridXPosition and GridYPosition to 1 inside the component itself.

 

Untitled.png

 

Any help with my issue will be greatly appreciated 🙂

2 REPLIES 2
Highlighted
Super User
Super User

Re: Components Display In Different Positions When In Play Mode vs. Studio Mode

@CarlosFigueira @v-siky-msft @v-xida-msft
Any ideas on this one? I’m not sure why the component would be behaving in this way.
Highlighted
Super User
Super User

Re: Components Display In Different Positions When In Play Mode vs. Studio Mode

How can I make a bug report about this issue?

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,671)