pschillinger / flexbe_chrome_app

Contains the source code of the FlexBE Chrome App.
BSD 3-Clause "New" or "Revised" License
2 stars 6 forks source link

Statemachine editor does not have scroll bars #8

Closed skohlbr closed 8 years ago

skohlbr commented 8 years ago

It appears that large (and/or clumsily layouted) state machines cannot be manipulated easily because they exceed the space of the editor and there are no scrollbars appearing. Is there a method (keyboard shortcuts or similar) for scrolling? Can scroll bar functionality be added?

pschillinger commented 8 years ago

There is no such method available in the editor right now. But I can look into adding scrollbars.

In general I would rather prefer something like pan and zoom for the editor, but unfortunately, that's not really possible with the drawing framework I use.

How urgent do you need it? I assume you refer to synthesis results, at least that's the typical case for large and clumsy state machines. In this case, generated states can be arranged by setting their position, maybe this helps in the meantime.

spmaniato commented 8 years ago

If I remember correctly, another typical case is when you compose and save a state machine on a large monitor and then open it later on a much smaller screen (e.g. on a laptop)

pschillinger commented 8 years ago

Right, this can also be a problem.

Quick update: There won't be scrollbars, but panning will come with one of the next updates.

pschillinger commented 8 years ago

Panning is available in the develop branch (you can manually download and update: Version 1.0.15).

It works by holding down shift and then dragging around over the background. If you press space while holding down shift, the view will jump back to the origin. Same happens when opening a new container.