[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
This commit is contained in:
Don Ho 2014-04-16 15:24:00 +00:00
parent 698f48e6ea
commit a41d760cb8
2 changed files with 4 additions and 2 deletions

View File

@ -228,7 +228,8 @@ void FindReplaceDlg::create(int dialogID, bool isRTL)
//::GetWindowRect(_hSelf, &rect);
getClientRect(rect);
_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 *replace = TEXT("Replace");

View File

@ -1047,7 +1047,8 @@ BOOL CALLBACK UserDefineDialog::run_dlgProc(UINT message, WPARAM wParam, LPARAM
_pUserLang = _pCurrentUserLang;
_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.create(IDD_FOLDER_STYLE_DLG);