summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grc/python/flow_graph.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/python/flow_graph.tmpl b/grc/python/flow_graph.tmpl
index 854d83967..070ad7ed1 100644
--- a/grc/python/flow_graph.tmpl
+++ b/grc/python/flow_graph.tmpl
@@ -63,7 +63,7 @@ class $(class_name)(gr.top_block, Qt.QWidget):
def __init__($param_str):
gr.top_block.__init__(self, "$title")
Qt.QWidget.__init__(self)
- self.top_layout = Qt.QBoxLayout(Qt.QBoxLayout.TopToBottom, self)
+ self.top_layout = Qt.QVBoxLayout(self)
self.top_grid_layout = Qt.QGridLayout()
self.top_layout.addLayout(self.top_grid_layout)
#elif $generate_options == 'no_gui'