constraining dragging movement of Morph Windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

constraining dragging movement of Morph Windows

Peter Uhnak
Hi,

is it possible to somehow "constraint" the movement of windows (Nautilus, Playground, ..., SystemWindow, ...)?

E.g. I want for them to only move (or "snap") only at steps of e.g. 20 pixels.

So sort of snap-to-20-pixel-grid behavior.

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: constraining dragging movement of Morph Windows

Hannes Hirzel
Hello Peter

A hint, but not yet the solution

     World griddingOnOff.

toggles the grid for morphs.


      World setGridSpec.

Allows to set the grid.


       World griddingOn

tells if the grid is on or off

The commands above affect morphs,

    Morph new openInWorld


but not the windows (Nautilus, Playground, ..., SystemWindow, ...)


Something else in addition seems to be needed ......

Regards
Hannes

On 8/28/17, Peter Uhnák <[hidden email]> wrote:

> Hi,
>
> is it possible to somehow "constraint" the movement of windows (Nautilus,
> Playground, ..., SystemWindow, ...)?
>
> E.g. I want for them to only move (or "snap") only at steps of e.g. 20
> pixels.
>
> So sort of snap-to-20-pixel-grid behavior.
>
> Thanks,
> Peter
>