Fix plugin admin UI overlapping

Fix #12229, close #12230
pull/12257/head
SinghRajenM 2 years ago committed by Don Ho
parent 155d75414b
commit 2d4af44f54

@ -146,7 +146,7 @@ void PluginsAdminDlg::create(int dialogID, bool isRTL, bool msgDestParent)
_tab.insertAtEnd(installed);
_tab.insertAtEnd(incompatible);
rect.bottom -= dpiManager.scaleX(100);
rect.bottom -= dpiManager.scaleY(105);
_tab.reSizeTo(rect);
_tab.display();
@ -204,7 +204,7 @@ void PluginsAdminDlg::create(int dialogID, bool isRTL, bool msgDestParent)
RECT listRect = rect;
RECT descRect = rect;
long descHeight = rect.bottom / 3 - marge * 2;
long descHeight = rect.bottom / 3 - marge;
long listHeight = (rect.bottom / 3) * 2 - marge * 3;
listRect.top += marge;

@ -35,8 +35,8 @@ BEGIN
PUSHBUTTON "Update", IDC_PLUGINADM_UPDATE,432,35,57,14
PUSHBUTTON "Remove", IDC_PLUGINADM_REMOVE,432,35,57,14
EDITTEXT IDC_PLUGINADM_EDIT,30,160,220,80,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_BORDER | WS_VSCROLL
RTEXT "Plugin list version: ", IDC_PLUGINLIST_VERSION_STATIC,350,230,120,14
LTEXT "", IDC_PLUGINLIST_VERSIONNUMBER_STATIC,470,230,30,14
RTEXT "Plugin list repository",IDC_PLUGINLIST_ADDR,368,245,120,14
RTEXT "Plugin list version: ", IDC_PLUGINLIST_VERSION_STATIC,350,242,120,14
RTEXT "", IDC_PLUGINLIST_VERSIONNUMBER_STATIC,467,242,22,14
RTEXT "Plugin list repository",IDC_PLUGINLIST_ADDR,369,257,120,14
PUSHBUTTON "Close", IDCANCEL, 225, 270, 57, 14
END

Loading…
Cancel
Save