Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button size #143

Closed
houyuan2 opened this issue Apr 30, 2018 · 1 comment
Closed

Button size #143

houyuan2 opened this issue Apr 30, 2018 · 1 comment

Comments

@houyuan2
Copy link

Is it possible to set the height of a ofxDatGuiButton*? I only find setWidth() but no setHeight()

@braitsch
Copy link
Owner

braitsch commented Jun 10, 2018

The height of each component, as well as other layout values, is hardcoded in ofxDatGuiTheme. You can override any of these values by creating a custom theme, which extends ofxDatGuiTheme, and applying that to your gui. Take a look at the AllComponentsGui example to see how to create and apply themes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants