bruderstein / nppPluginManager

Notepad++ Plugin Manager
http://www.brotherstone.co.uk/npp/pm/
GNU General Public License v2.0
1.67k stars 221 forks source link

Window of Plugin Manager has no minimum size #105

Open dinkumoil opened 6 years ago

dinkumoil commented 6 years ago

Description of the Issue

There is no appropriate limit for reducing the size of Plugin Manager's window. The window can be resized until only the titlebar with the text "Plugin Manager" remains.

Steps to Reproduce the Issue

  1. Open Plugin Manager.
  2. Reduce its size with the mouse.

Expected Behavior

There should be an appropriate limit where further reduction of the window's size gets blocked. At least there should be a minimum width limit in order to keep the dialog operational.

Actual Behavior

There is no appropriate limit for reducing the window's size. The window can be resized until only the titlebar with the text "Plugin Manager" remains.

Debug Information

Notepad++ v7.5.5 (32-bit) Build time : Feb 27 2018 - 21:44:21 Path : D:\Development\Delphi\AutoCodepage V1.0 [DXE2]\_npp\Win32\notepad++.exe Admin mode : OFF Local Conf mode : ON OS : Windows 7 (64-bit) Plugins : AutoCodepage.dll mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll

Same behaviour on 64-bit version.

chcg commented 6 years ago

@dinkumoil Why should there be a restriction if the user intentionally sizes the window so small?

dinkumoil commented 6 years ago

@chcg If only the width is reduced, at a certain point the three buttons start to overlap the sponsor logo and its associated text. If the width is reduced even more the "Settings" button will disappear. The client height of the dialog can be reduced to zero and the whole content disappears.

Generally speaking, the user can reduce the size of the dialog so much that the dialog gets completely useless respectively disfunctional. This is against a fundamental principle of dialog design and it looks like a forgotten detail. But maybe I'm only pedantic...