projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a7cdbf
)
DecoderSelector: Set alignment=top for the PD info text.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 14 Mar 2019 20:40:52 +0000
(21:40 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 14 Mar 2019 21:49:24 +0000
(22:49 +0100)
This looks nicer if the text area is resized to be larger than the
PD info text itself.
pv/subwindows/decoder_selector/subwindow.cpp
patch
|
blob
|
history
diff --git
a/pv/subwindows/decoder_selector/subwindow.cpp
b/pv/subwindows/decoder_selector/subwindow.cpp
index a201791fd84886f52b4a1159309e6c1e66aea904..c8e0e1c16617a8dd642b8f6a054cb1d4785cdaf0 100644
(file)
--- 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);