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

Change the window size of the switch example #906

Merged
merged 1 commit into from
May 14, 2020
Merged

Change the window size of the switch example #906

merged 1 commit into from
May 14, 2020

Conversation

MMartin09
Copy link
Contributor

Change the window size of the switch example

The window height was too small to display the third checkbox.

Removed unused variable.

It is no longer required to resize the window (height) to see the third checkbox.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup! As an immediate workaround a for a problem with the demo, this is great!

However, there's possibly a bug underneath all this; if a user describes a layout geometry that can't fit in the specified window size, we should at the very least be reporting this as a warning, and potentially expanding the window to the "smallest viable size".

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

Successfully merging this pull request may close these issues.

2 participants