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

variable window size and dynamically set code width #56

Open
1 task
kdauer opened this issue May 8, 2022 · 1 comment
Open
1 task

variable window size and dynamically set code width #56

kdauer opened this issue May 8, 2022 · 1 comment
Labels
story 📚 User stories are short, simple descriptions of a feature.

Comments

@kdauer
Copy link
Contributor

kdauer commented May 8, 2022

Problem to solve

As Squeak Enthusiast, I want the code in a window being readjusted dynamically, depending on the current width of the window so that it fits them optimally into view and avoid under-indented linebreaks.

Further details

relates to #26
Examples:
image
image
image
image

Acceptance Criteria

  • When I resize my browser window, the line width is adjusting dynamically and the code is formatted nicely.
@kdauer kdauer added the story 📚 User stories are short, simple descriptions of a feature. label May 8, 2022
@Yannis-Hofmann
Copy link
Contributor

Ideas:

  • Resizing a window changes the max line length of the pretty printer and displays the code nicely.
  • Would be nice to not save the dynamically scaled version because that would not work with users wo don't use poppy-print. So only the normal poppy printed version is written to the source file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story 📚 User stories are short, simple descriptions of a feature.
Projects
None yet
Development

No branches or pull requests

2 participants