Skip to content

Commit 0bcea5f

Browse files
committed
layout margins correction
1 parent 8bda105 commit 0bcea5f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/sas/qtgui/Calculators/UI/DataOperationUtilityUI.ui

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,9 @@ Append(Combine): |</string>
357357
<property name="focusPolicy">
358358
<enum>Qt::NoFocus</enum>
359359
</property>
360+
<property name="frameShape">
361+
<enum>QFrame::StyledPanel</enum>
362+
</property>
360363
</widget>
361364
</item>
362365
<item row="2" column="1">
@@ -424,6 +427,12 @@ Append(Combine): |</string>
424427
<property name="focusPolicy">
425428
<enum>Qt::NoFocus</enum>
426429
</property>
430+
<property name="frameShape">
431+
<enum>QFrame::StyledPanel</enum>
432+
</property>
433+
<property name="frameShadow">
434+
<enum>QFrame::Sunken</enum>
435+
</property>
427436
</widget>
428437
</item>
429438
<item row="2" column="3">

src/sas/qtgui/Plotting/PlotterBase.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def __init__(self, parent=None, manager=None, quickplot=False):
4545
# Set the layout and place the canvas widget in it.
4646
layout = QtWidgets.QVBoxLayout()
4747
# FIXME setMargin -> setContentsMargins in qt5 with 4 args
48-
#layout.setContentsMargins(0)
48+
layout.setContentsMargins(0, 0, 0, 0)
49+
layout.setSpacing(0)
4950
layout.addWidget(self.canvas)
5051

5152
# 1D plotter defaults

0 commit comments

Comments
 (0)