overtone/overtone — comment on commit 063996cfaad9441b479f793ba1b57ea4d93e75b5
File:  line 0
By daveray:

> Ahh. I was using the sequencer with just 3 insts spanning the height of my
> screen so I saw that as wasted vertical space.

This might be why we differ on whether drag should spill over into the
next cell. If the window is really big, the cells are big and it
doesn't happen that much. I made the cells as small as possible so
just a little drag and I was suddenly modifying the value of the cell
above or below.

> In seesaw, how would you
> specify an alternate layout to use when space is limited? It would be nice
> to be able to fill the space when it's available and sqaush it all down
> into a single menu when it's not. Is there an event to listen for? It
> would be easy enough to just let the user choose between the compact layout
> or the expanded layout, but I've been enjoying the dynamic nature of the
> display so far.

Yep. I like having everything resizable as well. ...

I was about to type a message about how difficult swing would make
"squashing it all down", but decided to actually try it first. Here's
what I came up with:

https://github.com/daveray/seesaw/blob/72c352eff57dca0faf90ea79162467c3d0c82259/test/seesaw/test/examples/dynamic_layout.clj

Go figure :) It's not super-slick HTML 5 animated transition or
whatever, but it can probably be adapted for our purposes.

Dave