Skip to content

Commit

Permalink
Fix small width for "Ignore case" checkbox in UDL for some languages
Browse files Browse the repository at this point in the history
  • Loading branch information
ozone10 authored and donho committed Jun 5, 2024
1 parent 9f6e9c0 commit ea71d5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions PowerEditor/src/ScintillaComponent/UserDefineDialog.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions PowerEditor/src/localization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ void NativeLangSpeaker::changeUserDefineLang(UserDefineDialog *userDefineDlg)
{
const wchar_t *nameW = wmc.char2wchar(name, _nativeLangEncoding);
::SetWindowText(hItem, nameW);
resizeCheckboxRadioBtn(hItem);
}
}
}
Expand Down

0 comments on commit ea71d5e

Please sign in to comment.