VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Common.rc
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2024-09-19 00:36:31 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2024-09-19 00:36:31 +0200
commit68e2e017450343b5a36d1179616129a53ed8d9c2 (patch)
tree999c85cde092b271f700d3dd4464a1089eea66db /src/Common/Common.rc
parentaaf42a84a7e1475072c2d88b88b3a5557a61a746 (diff)
downloadVeraCrypt-68e2e017450343b5a36d1179616129a53ed8d9c2.tar.gz
VeraCrypt-68e2e017450343b5a36d1179616129a53ed8d9c2.zip
Windows: Fix EFI configuration editor various issues
We always using Unicode functions to interact with UI. We convert UTF8 string to UTF16 and vis-versa. Overwrite input string instead of using resize that caused old test to remain. Fix case of readOnly by using correct message. change position of OK/cancel button to match other dialogs. Activate translation on this dialog.
Diffstat (limited to 'src/Common/Common.rc')
-rw-r--r--src/Common/Common.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Common.rc b/src/Common/Common.rc
index cbd401d8..41778dfc 100644
--- a/src/Common/Common.rc
+++ b/src/Common/Common.rc
@@ -344,9 +344,9 @@ IDD_TEXT_EDIT_DLG DIALOGEX 0, 0, 372, 220
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
- PUSHBUTTON "OK",IDOK,306,201,58,14
+ PUSHBUTTON "OK",IDOK,244,201,58,14
CONTROL "",IDC_INFO_BOX_TEXT,"RichEdit20W",ES_MULTILINE | ES_WANTRETURN | ES_NUMBER | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP,5,6,361,188
- DEFPUSHBUTTON "Cancel",IDCANCEL,240,201,58,14
+ DEFPUSHBUTTON "Cancel",IDCANCEL,308,201,58,14
END