#gui size suck

1 messages · Page 1 of 1 (latest)

fallen delta
#

3 of my jbutton size is 250,250 and my frame size is 500,500 IT DOESNT FIT HOW DO I MAKE IT FIT SUM OF MY CODE(im beginer btw):
button3.setBounds(new Rectangle(250,250,250,250));
button2.setBounds(new Rectangle(250,0,250,250));
button1.setBounds(new Rectangle(0,0,250,250));
frame.setSize(500,500);

desert orbitBOT
#

<@&987246399047479336> please have a look, thanks.

snow oasis
#

On your screenshot these buttons actually fits into frame. Do not see the problem

mint bloom
#

also dont use absolute positioning

#

use a proper layour instead

fallen delta
#

i want it to fit perfectly someone of the runn button is out of frame