Skip to content

Commit

Permalink
Merge pull request #450 from hhslepicka/fix_byte
Browse files Browse the repository at this point in the history
FIX: Remove margins.
  • Loading branch information
hhslepicka authored Dec 12, 2018
2 parents c065a70 + c2d647b commit de588d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pydm/widgets/byte.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ def set_spacing(self):
indicator_spacing = 5
else:
indicator_spacing = 0

self.layout().setContentsMargins(0, 0, 0, 0)

if self._orientation == Qt.Horizontal:
self.layout().setHorizontalSpacing(indicator_spacing)
self.layout().setVerticalSpacing(label_spacing)
Expand Down

0 comments on commit de588d2

Please sign in to comment.