I want the button under the player (with the text “module”) stays at the same place when the player is visible or not. When there is not the player the button goes up.
I try with a container (grey rectangle) but the size (height) of the container depends on what is inside.
when you click on your button, you will see on the top left hand corner of the screen, an option for “visibility”. if you click on it you will see this.
The problem is not a visibility matter.
The player is a list and when the list is loading (sometimes 5 seconds, sometimes 1 second) the player is not visible and the button goes up. When the player is loaded it moves down the button .
These up and down for the button are not really nice for the users.
You could have that invisible rectangle behind the player, covering the same area/space as the player. In this way, even when loading the information, the rectangle will always be there, not allowing the button to move.