The ace editor should adapt in height with the size of the window.

Submitted by Elmer van Chastelet on 16 January 2015 at 11:48

On 16 January 2015 at 11:48 Elmer van Chastelet tagged 0.43

On 16 January 2015 at 11:49 Elmer van Chastelet closed this issue.

On 16 January 2015 at 12:58 Eelco Visser commented:

The adapting editor widget is a good start. But not quite there yet:

  • The fixed navigation bar causes the page to have a vertical scroll; there is no need for a fixed menu bar; it does not provide tools that need to be accessed while reading a page.

  • The resizing of the editor widget does not take into account the console. At least on Firefox the editor stretches all to the bottom leaving room only for the buttons, but not for the console div, which again causes a vertical scroll.

  • The assignment pane on the left should always have the same size as the editor pane. If it is smaller it should just stretch. If it is larger it should have an internal vertical scroll bar.


On 16 January 2015 at 12:58 Eelco Visser reopened this issue.

On 16 January 2015 at 12:59 Eelco Visser commented:

I cannot add an attachment; I’ll send you a screenshot.


On 16 January 2015 at 13:23 Elmer van Chastelet commented:

The resizing of the editor widget does not take into account the console. At least on Firefox the editor stretches all to the bottom leaving room only for the buttons, but not for the console div, which again causes a vertical scroll.

You mean that you need to scroll vertically when the page (non-fullscreen mode) has loaded? The size of the editor is set so, that you can fill the screen with the editor + console with buttons. But indeed, you need to perform a vertical scroll first. I already added code for auto-scroll to editor pane, but I think the page should be loaded without autoscroll such that the progress bar and tool buttons are visible. What do you prefer?


On 16 January 2015 at 13:28 Eelco Visser commented:

The entire page should be visible without vertical scroll bar. That means that vertical scroll in the editor does not accidentally cause scrolling of the page and that the console is always visible. When the grading checklist is active, that should be in the visible page as well. In a next version, when space is available, the console and checklist could be shown on the right of the editor tabs.


On 16 January 2015 at 14:29 Elmer van Chastelet commented:

I leave this optimization to next release with more responsive stuff. For now I redeploy a version which auto scrolls when focussing on an ace editor.


On 16 January 2015 at 14:29 Elmer van Chastelet closed this issue.

Log in to post comments