For the first time in our GoMail examples, we have a toolkit that provides all of the layouts required to match the user interface we designed at the beginning of Section 2, Toolkits Using Existing Widgets. That's perhaps no surprise, as it was created using the Qt tools, but it's a chance to explore the more complete set of layouts provided by Qt and made available using the qt bindings. The most useful ones are the following:
Layout | Description |
box | The box layout is very familiar by now; it lays out widgets in a horizontal or vertical box. Therefore, it's created with widgets.NewQVBoxLayout() or widgets.NewQVBoxLayout() accordingly. |
form |
This is a convenience layout that's basically a two-column grid where all of the widgets ... |