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

Nez.UI ProgressBar is a fixed length #744

Open
connor-lennox opened this issue Sep 15, 2022 · 1 comment
Open

Nez.UI ProgressBar is a fixed length #744

connor-lennox opened this issue Sep 15, 2022 · 1 comment

Comments

@connor-lennox
Copy link
Contributor

Currently, the PreferredWidth field of horizontal ProgressBars (PreferredHeight for vertical bars) is set to always be 140.

There are two ways a more flexible progress bar could be implemented:

  1. Expose two fields, one for each of these values, that are used in the corresponding cases.
  2. Expose a single field, PreferredLength, which is used for the PreferredWidth in horizontal bars and the PreferredHeight in vertical bars.
@connor-lennox
Copy link
Contributor Author

I'm going to create an implementation that follows option 2 there, but would be open to switching to option 1 if needed.

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