How to place rectangle in grid order?
So far, my program draws many rectangles and the locations of the rectangles are random (not nice开发者_Go百科). How can I place the rectangle in grid order so that it look appealing?
Use a grid manager like GridLayout
精彩评论