Skip to content

Commit

Permalink
fix background in Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
ozmartian committed Jan 25, 2017
1 parent 0f14858 commit 97f609b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vidcutter.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,9 @@ def initNoVideo(self) -> None:
novideoImage = QLabel(alignment=Qt.AlignCenter, autoFillBackground=False,
pixmap=QPixmap(':/images/novideo.png', 'PNG'),
sizePolicy=QSizePolicy(QSizePolicy.Expanding, QSizePolicy.MinimumExpanding))
novideoImage.setBackgroundRole(QPalette.Dark)
novideoImage.setContentsMargins(0, 20, 0, 15)
self.novideoLabel = QLabel(alignment=Qt.AlignCenter, autoFillBackground=True,
self.novideoLabel = QLabel(alignment=Qt.AlignCenter, autoFillBackground=False,
sizePolicy=QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum))
self.novideoLabel.setBackgroundRole(QPalette.Dark)
self.novideoLabel.setContentsMargins(0, 20, 15, 40)
novideoLayout = QVBoxLayout(spacing=0)
novideoLayout.addWidget(novideoImage)
Expand Down

0 comments on commit 97f609b

Please sign in to comment.