Commit eaca1676 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Allow the message structure view to grow/shrink as much as sensible

* Ignore vertical size hint of HTML status bar to allow the message structure
  view to grow as much as possible.
* Set minimum height of message structure view to 10 pixels. This
  allows the message structure view to shrink to a very small height.
  Allowing it to shrink to zero height is not useful because then the user
  cannot resize it anymore.

Sponsored by: Intevation GmbH

BUG: 436044
FIXED-IN: 5.18.0
parent 0760b595
Pipeline #59184 passed with stage
in 40 minutes and 17 seconds
......@@ -1363,6 +1363,7 @@ void ViewerPrivate::createWidgets()
mMimePartTree = new MimePartTreeView(mSplitter);
connect(mMimePartTree, &QAbstractItemView::activated, this, &ViewerPrivate::slotMimePartSelected);
connect(mMimePartTree, &QWidget::customContextMenuRequested, this, &ViewerPrivate::slotMimeTreeContextMenuRequested);
......@@ -1378,7 +1379,7 @@ void ViewerPrivate::createWidgets()
mColorBar->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
mColorBar->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Ignored);
mShowNextMessageWidget = new MessageViewer::ShowNextMessageWidget(readerBox);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment