commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 02/02: grc: Fixed padding for complexity


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/02: grc: Fixed padding for complexity
Date: Sat, 3 Oct 2015 19:46:48 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 8a4904d7f3c5878c42d1c0589e6ef7b1afd4a6be
Author: Seth Hitefield <address@hidden>
Date:   Sat Oct 3 14:39:14 2015 -0400

    grc: Fixed padding for complexity
---
 grc/gui/Block.py | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/grc/gui/Block.py b/grc/gui/Block.py
index 7350e4b..4157a08 100644
--- a/grc/gui/Block.py
+++ b/grc/gui/Block.py
@@ -41,11 +41,16 @@ BLOCK_MARKUP_TMPL="""\
 COMMENT_COMPLEXITY_MARKUP_TMPL="""\
 #set $foreground = $block.get_enabled() and '#444' or '#888'
 #if $complexity
-<span foreground="#444" size="medium" 
font_desc="$font"><b>$encode($complexity)</b></span>
+<span foreground="#444" size="medium" 
font_desc="$font"><b>$encode($complexity)</b></span>#slurp
+#end if
+#if $complexity and $comment
+<span></span>
 #end if
 #if $comment
 <span foreground="$foreground" font_desc="$font">$encode($comment)</span>#slurp
-#end if"""
+#end if
+"""
+
 
 
 class Block(Element):



reply via email to

[Prev in Thread] Current Thread [Next in Thread]