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

Expose system default design characteristics #40

Open
ProgramMax opened this issue Aug 28, 2022 · 0 comments
Open

Expose system default design characteristics #40

ProgramMax opened this issue Aug 28, 2022 · 0 comments

Comments

@ProgramMax
Copy link
Owner

Is your feature request related to a problem? Please describe.
There is surely a default font the system uses.
And there are likely default sizes related to that font. For example, a button might default to being 2x the height of the font. And the button should of course be at least the width of the text on the button.
These details likely change from system to system, as each system has its own feel.
Currently, maxGUI programmers have no way to access this information.

Describe the solution you'd like
Expose default fonts, font size information (including "how many pixels wide would this string be?"), and default system design information.

Describe alternatives you've considered
A maxGUI user could hard-code the size of buttons. And sometimes that is desirable, such as when a button should be the entire width of the form. But that should not be the only method available.

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

1 participant