I have been using netbeans GUI editor for some time now to design a Front-end GUI for an application I am designing, it is based on using a CardLayout and the image below should be displaying a simple login screen. However after I made some changes (i added a new panel) the whole thing has gone nuts! The image is skewed off the centre and half of the screen simply does not render. Any suggestions on causes of this or any fixes for it would be appreciated!
Feel free to ask for any additional info!

What caused this issue was that for some unknown reason netbeans decided to change a parameter for my main frame messing up its default sizing which resulted in the image above. The parameter is found when clicking on the mainPanel (that is the parent of all the cards for the cardlayout i was using), in the properties tab > layout > horizontal size & vertical size had been changed from “default” to numerical values. These were properties that I had never touched before, but had now changed.
Resetting the value to “default” solved the issue, just one of those weird things i guess