Skip to content

Latest commit

 

History

History

exampleLayout

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

layoutExample

Screenshot of layoutExample

Learning Objectives

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

Expected Behavior

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.