Layout Manager for lining up variably-sized components vertically and horizontally
问题 I'm trying to make a fairly basic panel for adding/editing users in a database. To make this happen, I want to have a number of labels for different fields on the left, and the appropriate controls for that field on the right. (So, the left might say something like "Username", "User Type", "Expiration Date", etc, and the associated right-hand side would have a text panel, a drop down, and a calendar widget.) The problem I'm running into is that I want these to both line up horizontally (a