This example demonstrates methods to use the flexbox layout in ofxGui.
In the code, you will learn how to..
- set layout options with
ofJson
- create tabs and add pages
- set a percental with of an element
- create groups with fixed and with flexible size
- set different background colors for groups
- use different flexbox attributes
You will see a layout with a header, a main part with tabs and a footer. The layout will always use the full window size, try resizing.