[BUG_FIXED] Apply DPI-aware on find & replace dialog tab and User define language dialog tab.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1223 f5eea248-9336-0410-98b8-ebc06183d4e3
remotes/trunk
Don Ho 11 years ago
parent 698f48e6ea
commit a41d760cb8

@ -228,7 +228,8 @@ void FindReplaceDlg::create(int dialogID, bool isRTL)
//::GetWindowRect(_hSelf, &rect); //::GetWindowRect(_hSelf, &rect);
getClientRect(rect); getClientRect(rect);
_tab.init(_hInst, _hSelf, false, false, true); _tab.init(_hInst, _hSelf, false, false, true);
_tab.setFont(TEXT("Tahoma"), 13); int tabDpiDynamicalHeight = NppParameters::getInstance()->_dpiManager.scaleY(13);
_tab.setFont(TEXT("Tahoma"), tabDpiDynamicalHeight);
const TCHAR *find = TEXT("Find"); const TCHAR *find = TEXT("Find");
const TCHAR *replace = TEXT("Replace"); const TCHAR *replace = TEXT("Replace");

@ -1047,7 +1047,8 @@ BOOL CALLBACK UserDefineDialog::run_dlgProc(UINT message, WPARAM wParam, LPARAM
_pUserLang = _pCurrentUserLang; _pUserLang = _pCurrentUserLang;
_ctrlTab.init(_hInst, _hSelf, false); _ctrlTab.init(_hInst, _hSelf, false);
_ctrlTab.setFont(TEXT("Tahoma"), 13); int tabDpiDynamicalHeight = NppParameters::getInstance()->_dpiManager.scaleY(13);
_ctrlTab.setFont(TEXT("Tahoma"), tabDpiDynamicalHeight);
_folderStyleDlg.init(_hInst, _hSelf); _folderStyleDlg.init(_hInst, _hSelf);
_folderStyleDlg.create(IDD_FOLDER_STYLE_DLG); _folderStyleDlg.create(IDD_FOLDER_STYLE_DLG);

Loading…
Cancel
Save