Text moving without anything telling it to


The first screenshot shows where the text should be position. The second shows what happens after some buttons are pressed. The text should be in the center of the screen, however it is moving to the top and bottom of the screen even though nothing changes the arrangement of the labels. Can anyone help?

Link to code: MIT App Inventor Gallery

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.
export_and_upload_aia

Rock_Paper_Scissors_Prototype.aia (6.6 MB)

I tested your aia, no issue of 'labels move to top or bottom'.

And I still don't understand the logic of your game, just a rock-paper-scissor game?
You used 430+ blocks for this easy game.You really need to learn how to use procedure with parameters, and usage of List.

It's sort of a rock paper scissors game where if you lose a match, you lose the choice you lost with: You played paper and the other player played scissors, so you can no longer use paper.

1 Like

This is likely an iOS specific issue since sometimes the constraint solver lays out the UI differently after a label changes its size.

1 Like

Try this one:
Rock_Paper_Scissors_Prototype2.aia (1.1 MB)

I removed these items:

grafik