Not sure how to support different screen resolutions with GUI

Hi guys.

perhaps some info here.

I was working with a diagram that needed to survive canvas resize, and sebavan helped me out… with some resize observers.

I think… you can simulate different resolutions… by drag-resizing your browser window.

For testing, I opened my f12 dev-tools and dragged its horizontal divider… up/down. And I dragged the divider between playground editor and canvas… as another test. This allows for full-power in-playground resolution-testing, I think.

Also, you might wish to research idealWidth and idealHeight. I’m not sure what they are used-for, but they sure have interesting names. :slight_smile:

3 Likes