Required QT hints
I am working on a simple board game in qt and I have some layout issues. I have two players, their health is represented by pixmaps at the bottom of the screen. It now looks something like this:
Note that I would like to keep the health indicators on opposite sides of the screen and the button centered to the center of the screen.
BUT, when some of the players lose health, this happens:
If the picture is not clear, here I have taken several screens:
So the problem is that the button in the middle starts to shift to one of the edges of the screen due to the spacers. I understand why it does this, but I just can't seem to find a solution.
Please, if you have any ideas how I can make this layout, please help me! Thanks in advance!
+3
source to share
2 answers