1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-16 10:38:53 +01:00

Set content margin for label top in context

This commit is contained in:
Jonas Kvinge 2020-04-27 22:20:50 +02:00
parent a74439d038
commit 947484a71c

View File

@ -146,9 +146,10 @@ ContextView::ContextView(QWidget *parent) :
widget_scrollarea_->setLayout(layout_scrollarea_);
widget_scrollarea_->setContentsMargins(0, 0, 0, 0);
label_top_->setWordWrap(true);
label_top_->setAlignment(Qt::AlignTop|Qt::AlignLeft);
label_top_->setWordWrap(true);
label_top_->setMinimumHeight(50);
label_top_->setContentsMargins(0, 0, 40, 0);
layout_scrollarea_->setObjectName("context-layout-scrollarea");
layout_scrollarea_->setContentsMargins(15, 15, 15, 15);