Sometimes resizing the plot window causes the window contents dimensions to go haywire, so, I looked into the css flexbox feature that is documented well in this guide.
Here's a new git branch that changes the layout to use flex for the plot window. So far, so good - and moves some fiddly js window calculations to the CSS renderer. Here's a plot window that uses flexbox.
Sometimes resizing the plot window causes the window contents dimensions to go haywire, so, I looked into the css flexbox feature that is documented well in this guide.
Here's a new git branch that changes the layout to use flex for the plot window. So far, so good - and moves some fiddly js window calculations to the CSS renderer. Here's a plot window that uses flexbox.
Here's the diff.