Skip to content

Commit

Permalink
Align image with title
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt authored Jun 2, 2022
2 parents b2df65f + 5258e0e commit ede5497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_news_feed/custom_news_feed.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def addNews(self, newsArticles):
image_label = QLabel()
image_label.setFixedWidth(150)
image_label.setPixmap(QPixmap(image).scaledToWidth(150, Qt.SmoothTransformation))
right_inner_vbox.setContentsMargins(0,40,0,0)
right_inner_vbox.setContentsMargins(0,5,0,0)
right_inner_vbox.addWidget(image_label)
right_inner_vbox.addStretch(1)

Expand Down

0 comments on commit ede5497

Please sign in to comment.