Expose system default design characteristics · Issue #40 · ProgramMax/maxGUI · GitHub
Skip to content

Expose system default design characteristics #40

Description

@ProgramMax

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions