Enlarge items window in Preferences dialog for better translation display

pull/12701/head
Don Ho 2022-12-25 18:55:51 +01:00
parent ac8782db13
commit 3d1aa408dd
2 changed files with 3 additions and 3 deletions

View File

@ -23,13 +23,13 @@
#define IDC_STATIC -1
#endif
IDD_PREFERENCE_BOX DIALOGEX 0, 0, 560, 235
IDD_PREFERENCE_BOX DIALOGEX 0, 0, 580, 235
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_WINDOWEDGE
CAPTION "Preferences"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LISTBOX IDC_LIST_DLGTITLE,10,10,80,203,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
LISTBOX IDC_LIST_DLGTITLE,10,10,100,203,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
PUSHBUTTON "Close",IDC_BUTTON_CLOSE,255,215,45,14
END

View File

@ -204,7 +204,7 @@ intptr_t CALLBACK PreferenceDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM
rc.top += NppParameters::getInstance()._dpiManager.scaleY(10);
rc.bottom -= NppParameters::getInstance()._dpiManager.scaleY(50);
rc.left += NppParameters::getInstance()._dpiManager.scaleX(150);
rc.left += NppParameters::getInstance()._dpiManager.scaleX(170);
_generalSubDlg.reSizeTo(rc);
_editingSubDlg.reSizeTo(rc);