This Applet is displayed via this html file Ĭurrently, this makes the Applet expand into the window it is put in the Grid can be resized by resizing the window, but this causes the geometry of each widget to be changed (losing 'squaredness'). Note that the number of rows and columns in the GridLayout are not necessarily equal (the Grid as a whole can be non-square) However, I wish for the GridLayout to take up as much space as possible before being too large for the screen or unable to preserve widget 'squareness'. I have a Java Applet with a GridLayout containing widgets which I wish to be square, and remain tightly packed to each other (so their sizes are unrestricted).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |