Skip to Main Content
Hands-On GUI Application Development in Go
book

Hands-On GUI Application Development in Go

by Andrew Williams
February 2019
Intermediate to advanced content levelIntermediate to advanced
450 pages
11h 59m
English
Packt Publishing
Content preview from Hands-On GUI Application Development in Go

Layout

Walk layouts (like those Qt Widget layouts they were inspired by) are based on a limited number of grid-based variants. The list of implemented layouts includes the following:

  • GridLayout: Items are laid out in a regular grid
  • VBoxLayout: Items are placed in a single column
  • HBoxLayout: Items are aligned in a single row

If you have explored the Qt UI Builder or are familiar with Qt, you may be expecting a fourth layout, FormLayout, which is not currently present in Walk. This can be simulated, however, using a two-column GridLayout and applying alignment properties as required.

In addition to the standard layouts, there are various widgets (some of which are invisible in the final interface) that help group UI elements and provide ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Cross-Platform GUI Applications with Fyne

Building Cross-Platform GUI Applications with Fyne

Andrew Williams

Publisher Resources

ISBN: 9781789138412Supplemental Content