From a7961b367d35dc1d3f32b24b0c703e76b6a3b2d5 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 14 Mar 2019 21:40:52 +0100 Subject: [PATCH] DecoderSelector: Set alignment=top for the PD info text. This looks nicer if the text area is resized to be larger than the PD info text itself. --- pv/subwindows/decoder_selector/subwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pv/subwindows/decoder_selector/subwindow.cpp b/pv/subwindows/decoder_selector/subwindow.cpp index a201791f..c8e0e1c1 100644 --- a/pv/subwindows/decoder_selector/subwindow.cpp +++ b/pv/subwindows/decoder_selector/subwindow.cpp @@ -110,6 +110,7 @@ SubWindow::SubWindow(Session& session, QWidget* parent) : info_box_layout->addWidget(info_label_header_); info_box_layout->addWidget(info_label_body_); info_box_layout->addWidget(info_label_footer_); + info_box_layout->setAlignment(Qt::AlignTop); Qt::TextInteractionFlags flags = Qt::TextSelectableByMouse | Qt::TextSelectableByKeyboard; info_label_header_->setWordWrap(true); info_label_header_->setTextInteractionFlags(flags); -- 2.30.2