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

blocks: suggestion: make canvas split between blocks and code adjustable #42

Closed
jaustin opened this issue Mar 15, 2017 · 2 comments
Closed

Comments

@jaustin
Copy link
Contributor

jaustin commented Mar 15, 2017

For larger programs, it would be nice to be able to adjust the proportion of the screen given to the 'text' part of the program and the blocks canvas

Even with some of the 'standard' blocks, the allocated canvas on my machine is not enough to avoid scrolling

image

There are a few options that come to mind

  • a button to Show/Hide the code altogether
  • Draggable 'divider' that adjusts the allocation
  • (probably a bad idea) try to compromise between canvas and code based on the content size and window size
@ntoll
Copy link
Contributor

ntoll commented Mar 16, 2017

Yeah... that's on my todo list.

@ntoll
Copy link
Contributor

ntoll commented Mar 16, 2017

Fixed by 1fd4987

At the bottom right corner of the blockly pane will be a drag-able tag to adjust the width. Tested on Firefox and Chrome.

This took a while to figure out and in the end I went with a third party library for it. It would be hard to make the whole of the RHS border drag-able (rather than just the bottom right).

@ntoll ntoll closed this as completed Mar 16, 2017
JakubLenski pushed a commit to JakubLenski/PythonEditor that referenced this issue May 13, 2019
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

2 participants