Enlarge items window in Preferences dialog for better translation display
parent
ac8782db13
commit
3d1aa408dd
|
@ -23,13 +23,13 @@
|
||||||
#define IDC_STATIC -1
|
#define IDC_STATIC -1
|
||||||
#endif
|
#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
|
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_WINDOWEDGE
|
EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_WINDOWEDGE
|
||||||
CAPTION "Preferences"
|
CAPTION "Preferences"
|
||||||
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
||||||
BEGIN
|
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
|
PUSHBUTTON "Close",IDC_BUTTON_CLOSE,255,215,45,14
|
||||||
END
|
END
|
||||||
|
|
||||||
|
|
|
@ -204,7 +204,7 @@ intptr_t CALLBACK PreferenceDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM
|
||||||
|
|
||||||
rc.top += NppParameters::getInstance()._dpiManager.scaleY(10);
|
rc.top += NppParameters::getInstance()._dpiManager.scaleY(10);
|
||||||
rc.bottom -= NppParameters::getInstance()._dpiManager.scaleY(50);
|
rc.bottom -= NppParameters::getInstance()._dpiManager.scaleY(50);
|
||||||
rc.left += NppParameters::getInstance()._dpiManager.scaleX(150);
|
rc.left += NppParameters::getInstance()._dpiManager.scaleX(170);
|
||||||
|
|
||||||
_generalSubDlg.reSizeTo(rc);
|
_generalSubDlg.reSizeTo(rc);
|
||||||
_editingSubDlg.reSizeTo(rc);
|
_editingSubDlg.reSizeTo(rc);
|
||||||
|
|
Loading…
Reference in New Issue