Fix small width for "Ignore case" checkbox in UDL for some languages

Fix #15233, close #15234
This commit is contained in:
ozone10 2024-06-03 15:32:40 +02:00 committed by Don Ho
parent 9f6e9c0cfc
commit ea71d5ea4e
2 changed files with 7 additions and 6 deletions

View File

@ -230,14 +230,14 @@ BEGIN
PUSHBUTTON "Remove",IDC_REMOVELANG_BUTTON,354,1,62,14
PUSHBUTTON "Import...",IDC_IMPORT_BUTTON,23,21,62,14
PUSHBUTTON "Export...",IDC_EXPORT_BUTTON,93,21,62,14
CONTROL "Ignore case",IDC_LANGNAME_IGNORECASE_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,186,24,76,10
RTEXT "Ext.:",IDC_EXT_STATIC,259,25,33,8
EDITTEXT IDC_EXT_EDIT,295,23,70,12,ES_AUTOHSCROLL
PUSHBUTTON "Export...",IDC_EXPORT_BUTTON,92,21,62,14
CONTROL "Ignore case",IDC_LANGNAME_IGNORECASE_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,162,24,110,10
RTEXT "Ext.:",IDC_EXT_STATIC,275,25,50,8
EDITTEXT IDC_EXT_EDIT,330,23,70,12,ES_AUTOHSCROLL
PUSHBUTTON "Dock",IDC_DOCK_BUTTON,425,1,50,14
CONTROL "Transparency",IDC_UD_TRANSPARENT_CHECK,"Button",BS_AUTOCHECKBOX | NOT WS_VISIBLE | WS_TABSTOP,408,22,66,10
CONTROL "",IDC_UD_PERCENTAGE_SLIDER,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | TBS_TRANSPARENTBKGND | NOT WS_VISIBLE | WS_TABSTOP,422,33,53,10
CONTROL "Transparency",IDC_UD_TRANSPARENT_CHECK,"Button",BS_AUTOCHECKBOX | NOT WS_VISIBLE | WS_TABSTOP,408,24,66,10
CONTROL "",IDC_UD_PERCENTAGE_SLIDER,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | TBS_TRANSPARENTBKGND | NOT WS_VISIBLE | WS_TABSTOP,422,35,53,10
END
IDD_STRING_DLG DIALOGEX 0, 0, 150, 60

View File

@ -796,6 +796,7 @@ void NativeLangSpeaker::changeUserDefineLang(UserDefineDialog *userDefineDlg)
{
const wchar_t *nameW = wmc.char2wchar(name, _nativeLangEncoding);
::SetWindowText(hItem, nameW);
resizeCheckboxRadioBtn(hItem);
}
}
}