How to use ofxGui maximize?

I have an ofxGui which is home to a bunch of ofParameterGroup elements.

gui_main.add(parameter_groupOne);
gui_main.add(parameter_groupTwo);

gui_main.minimizeAll();

minimizeAll() works.
But how do I now only maximize one of these groups via code? i.e. doing what pressing the little plus + sign does.

thanks for any advice.

gui_main.getGroup("group name").maximize()

The group name is the one you use in the ofParameterGroup

1 Like