frauzufall / ofxGuiExtended

ofParameter based GUI addon for openFrameworks; derived from the core OF ofxGui addon and ofxDOM.
MIT License
112 stars 29 forks source link

Theming buttons not working with theme file? #44

Open transat opened 8 years ago

transat commented 8 years ago

I'm having issues theming the button "type" from a json file whereas it seems to work fine if I do it with inline json. The buttons are derived from ofParameter.

frauzufall commented 8 years ago

Hey, I tested the example "exampleThemes" and there it works fine. Can you also test it there? Be aware that buttons and toggles are different. A button is derived from a toggle, so all theme attributes provided for "toggle" will also be used for buttons, whereas attributes assigned to "button" will only affect buttons and not toggles.