summaryrefslogtreecommitdiff
path: root/grc/gui/Block.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Block.py')
-rw-r--r--grc/gui/Block.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gui/Block.py b/grc/gui/Block.py
index 4157a0882d..6a2e496e20 100644
--- a/grc/gui/Block.py
+++ b/grc/gui/Block.py
@@ -304,7 +304,7 @@ class Block(Element):
def draw_comment(self, gc, window):
if not self._comment_pixmap:
return
-
x, y = self.get_coordinate()
+ y += self.H if self.is_horizontal() else self.W
window.draw_drawable(gc, self._comment_pixmap, 0, 0, x,
- y + self.H + BLOCK_LABEL_PADDING, -1, -1)
+ y + BLOCK_LABEL_PADDING, -1, -1)