[emojier] Set minimum window height and width

Authored by filipf on Feb 26 2020, 2:50 PM.

Description

[emojier] Set minimum window height and width

Summary:
There are two problems right now with the emojier's window:

  • when shrinking the window a scrollbar is drawn *over* the category drawer's icons
  • the whole window can be shrunk to be only 1px wide and only several pixels tall

To solve both issues this patch sets a minimum height that is equal to the height of the category drawer's content, thereby removing the possibility of a scrollbar appearing. Minimum width is then set to be somewhat bigger than minimum height to account for monitor aspect ratios.

In practice this amounts to about 465x370 on a 1080p screen.

BUG: 418195
FIXED-IN: 5.18.3

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D27679

Details

Committed
filipfFeb 27 2020, 1:12 PM
Differential Revision
D27679: [emojier] Set minimum window height and width
Parents
R119:de54f0ca9f59: Update version number for 5.18.2 GIT_SILENT
Branches
Unknown
Tags
Unknown