Bug 436044 - Allow message structure view to grow and shrink as much as possible
Summary: Allow message structure view to grow and shrink as much as possible
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: Git (master)
Platform: Other Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Ingo Klöcker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-22 14:09 UTC by Ingo Klöcker
Modified: 2021-04-22 14:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.18.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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