I am doing a modpack for the first time and I would like to be able to disable the resizing in the window and that the game can only be used in full screen because when the window is resized my game menu loses its shape completely, if someone helps me I would really appreciate it.
I’m having a little trouble understanding the purpose here of forcing fullscreen. As Siphalor said, I don’t think it’s a good solution. I guess the problem you have is that your buttons have a fixed size, so when you enlarge the window, they don’t fit.
A solution could be to manage the size of the buttons in proportion to the size of the window and not to put a fixed size on the buttons and block any change in the size of the window.