D27679: [emojier] Set minimum window height and width

Filip Fila noreply at phabricator.kde.org
Wed Feb 26 14:50:26 GMT 2020


filipf created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
filipf requested review of this revision.

REVISION 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

REPOSITORY
  R119 Plasma Desktop

BRANCH
  emojier-minimum-size (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D27679

AFFECTED FILES
  applets/kimpanel/backend/ibus/emojier/ui/emojier.qml

To: filipf
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200226/ce0a362c/attachment.html>


More information about the Plasma-devel mailing list