Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Dynamically changing the size of a toggle in ofxGui

$
0
0

@robotPatrol wrote:

hi,

i'd like to adjust the size of a toggle of type parameter or ofxToggle with respect to the size of a window, however, i am only able to change the size of the ofxPanel associated with it while the toggle stays the same size.

is it possible to change the size of the toggle? parameter doesn't have any . properties that effect size; i can set its initial size with the ofxPanel.setDefaultWidth and Height or setSize, but only the panel's size dynamically changes. ofxToggle has setSize as a property but only the area around the toggle changes while the toggle itself stays the same size.

thanks in advance.

01

Posts: 7

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles