From 2d4af44f545bd3bfc1a279cfd5957c80039c2f7f Mon Sep 17 00:00:00 2001 From: SinghRajenM Date: Sat, 24 Sep 2022 17:29:06 +0530 Subject: [PATCH] Fix plugin admin UI overlapping Fix #12229, close #12230 --- PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.cpp | 4 ++-- PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.rc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.cpp b/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.cpp index 204d8292e..0c2aac263 100644 --- a/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.cpp +++ b/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.cpp @@ -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; diff --git a/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.rc b/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.rc index c91a78f26..d59f4fb8c 100644 --- a/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.rc +++ b/PowerEditor/src/WinControls/PluginsAdmin/pluginsAdmin.rc @@ -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