6004x / jade

JAvascript Design Environment
Other
89 stars 94 forks source link

Testing out flexbox for layout #23

Closed drhodes closed 3 years ago

drhodes commented 4 years ago

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.

image

Here's the diff.