Page 1 of 1
Alignment got messed up after I changed the background of my frame.
Posted: Fri May 13, 2022 5:51 pm
by Exodus13
Code: Select all
define gui.confirm_frame_borders = Borders(752, 233, 0, 20)
The standard quit prompt did not look good enough for me, so I made a new frame and added it. I changed the dimensions of the frame to account for the new change in frame. However, both the text (yes/no) and the image are now out of bounds. How would I fix this?
Any help at all is appreciated. Thank you.
Re: Alignment got messed up after I changed the background of my frame.
Posted: Sat May 14, 2022 7:33 am
by Xiael
I would guess that the other screens were also dependent on that "gui.confirm_frame_borders" variable. I suggest you could change the borders of your new frame bg through its corresponding styles clause and don't refer to that variable above
Re: Alignment got messed up after I changed the background of my frame.
Posted: Sun May 15, 2022 4:25 am
by Exodus13
Gotcha. I fixed it. Thanks!