Bug 436044

Summary: Allow message structure view to grow and shrink as much as possible
Product: [Applications] kmail2 Reporter: Ingo Klöcker <kloecker>
Component: UIAssignee: Ingo Klöcker <kloecker>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.18.0

Description Ingo Klöcker 2021-04-22 14:09:37 UTC
Allow message structure view to grow and shrink as much as possible

The maximum height of the message structure view is restricted by the HTML status bar. This could be considered a bug. The minimum height seems to be restricted to a fixed size (about three lines of text). Both restrictions should be removed.
Comment 1 Ingo Klöcker 2021-04-22 14:09:58 UTC
taking
Comment 2 Ingo Klöcker 2021-04-22 14:54:32 UTC
Git commit eaca167651b0cf448d012802928c111ebae6b9f0 by Ingo Klöcker.
Committed on 22/04/2021 at 14:42.
Pushed by kloecker into branch 'master'.

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
FIXED-IN: 5.18.0

M  +2    -1    messageviewer/src/viewer/viewer_p.cpp

https://invent.kde.org/pim/messagelib/commit/eaca167651b0cf448d012802928c111ebae6b9f0