summaryrefslogtreecommitdiff
path: root/grc/gui/Constants.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2014-09-18 14:03:49 -0400
committerSebastian Koslowski <koslowski@kit.edu>2014-10-01 17:04:06 +0200
commit2563650388b4fe61349803131763818e515e36d6 (patch)
treeb1351fbc8410fcd97512750c2f5a98fc9c29b955 /grc/gui/Constants.py
parentb1ff593a99af0dab109c92d2cc21640f98921688 (diff)
grc: move font size definition in Constants.py
Diffstat (limited to 'grc/gui/Constants.py')
-rw-r--r--grc/gui/Constants.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/grc/gui/Constants.py b/grc/gui/Constants.py
index 7db291df99..0dc6279fd2 100644
--- a/grc/gui/Constants.py
+++ b/grc/gui/Constants.py
@@ -41,6 +41,13 @@ MIN_DIALOG_HEIGHT = 500
##default sizes
DEFAULT_BLOCKS_WINDOW_WIDTH = 100
DEFAULT_REPORTS_WINDOW_WIDTH = 100
+## flow-graph canvas fonts
+FONT_FAMILY = "Sans"
+FONT_SIZE = 8
+BLOCK_FONT = "%s %f" % (FONT_FAMILY, FONT_SIZE)
+PORT_FONT = BLOCK_FONT
+PARAM_FONT = "%s %f" % (FONT_FAMILY, FONT_SIZE - 0.5)
+
##The size of the state saving cache in the flow graph (for undo/redo functionality)
STATE_CACHE_SIZE = 42