diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2014-08-19 17:02:33 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2014-08-19 17:31:33 +0200 |
commit | 0dd158155c074113ec1cc6a3de7ecdd2be7d65e8 (patch) | |
tree | c29e8d9382426d23ae110187a6b2c375c8864bd9 /grc/gui/Constants.py | |
parent | 842d8c9d9aac5f7a48a78a9d6babc865570b81c8 (diff) |
grc: snap-to-grid (WIP)
Diffstat (limited to 'grc/gui/Constants.py')
-rw-r--r-- | grc/gui/Constants.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/grc/gui/Constants.py b/grc/gui/Constants.py index 7fabcfc0a0..c82449b6b6 100644 --- a/grc/gui/Constants.py +++ b/grc/gui/Constants.py @@ -53,7 +53,7 @@ BLOCK_LABEL_PADDING = 7 PORT_LABEL_PADDING = 2 #port constraint dimensions -PORT_SEPARATION = 17 +PORT_SEPARATION = 32 PORT_BORDER_SEPARATION = 9 PORT_MIN_WIDTH = 20 @@ -81,3 +81,6 @@ SCROLL_DISTANCE = 15 #How close the mouse click can be to a line and register a connection select. LINE_SELECT_SENSITIVITY = 5 + +# canvas grid size +CANVAS_GRID_SIZE = 8
\ No newline at end of file |