summaryrefslogtreecommitdiff
path: root/gr-qtgui/python/qtgui/range.py.cmakein
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/python/qtgui/range.py.cmakein')
-rwxr-xr-xgr-qtgui/python/qtgui/range.py.cmakein3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-qtgui/python/qtgui/range.py.cmakein b/gr-qtgui/python/qtgui/range.py.cmakein
index 4b6176a980..e49da506e1 100755
--- a/gr-qtgui/python/qtgui/range.py.cmakein
+++ b/gr-qtgui/python/qtgui/range.py.cmakein
@@ -81,6 +81,7 @@ class RangeWidget(QtWidgets.QWidget):
self.notifyChanged = slot
layout = Qt.QHBoxLayout()
+ layout.setContentsMargins( 0,0,0,0 )
label = Qt.QLabel(label)
layout.addWidget(label)
@@ -211,6 +212,8 @@ class RangeWidget(QtWidgets.QWidget):
# Need another horizontal layout to wrap the other widgets.
layout = Qt.QHBoxLayout()
+ layout.setContentsMargins( 0,0,0,0 )
+ layout.setSpacing(10)
layout.addWidget(self.slider)
layout.addWidget(self.counter)
self.setLayout(layout)