-
Notifications
You must be signed in to change notification settings - Fork 0
/
0002-Adjust-dialog-and-its-components-size.patch
44 lines (40 loc) · 1.91 KB
/
0002-Adjust-dialog-and-its-components-size.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From b9f541ed29fdbd9517b7d78f4c99ff52ae7f9599 Mon Sep 17 00:00:00 2001
From: Iku Iwasa <iku.iwasa@gmail.com>
Date: Thu, 15 Dec 2022 23:46:29 +0900
Subject: [PATCH 2/2] Adjust dialog and its components size
---
w32/pinentry-w32.rc | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/w32/pinentry-w32.rc b/w32/pinentry-w32.rc
index a54bf3a..40d867a 100755
--- a/w32/pinentry-w32.rc
+++ b/w32/pinentry-w32.rc
@@ -31,18 +31,18 @@ IDB_ICON_64 BITMAP DISCARDABLE "logo-64.bmp"
IDB_ICON_96 BITMAP DISCARDABLE "logo-96.bmp"
IDB_ICON_128 BITMAP DISCARDABLE "logo-128.bmp"
-IDD_PINENT DIALOG DISCARDABLE 0, 0, 230, 125
-STYLE DS_MODALFRAME | DS_SYSMODAL | WS_POPUP | WS_CAPTION | WS_SYSMENU
+IDD_PINENT DIALOG DISCARDABLE 0, 0, 265, 120
+STYLE DS_MODALFRAME | DS_SYSMODAL | DS_SETFOREGROUND | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Pinentry"
FONT 10, "MS Sans Serif"
BEGIN
CONTROL "", IDC_PINENT_ICON,
"Static", SS_BITMAP|SS_CENTERIMAGE,
- 5, 5, 32, 32
- LTEXT "", IDC_PINENT_DESC, 45, 5, 180, 65
- RTEXT "", IDC_PINENT_PROMPT, 5, 75, 60, 12
- EDITTEXT IDC_PINENT_TEXT, 70, 75, 155, 12, ES_PASSWORD | ES_AUTOHSCROLL
- CTEXT "", IDC_PINENT_ERR, 5, 90, 220, 12
- DEFPUSHBUTTON "O&K", IDOK, 50, 105, 85, 14
- PUSHBUTTON "&Cancel", IDCANCEL, 140, 105, 85, 14
+ 4, 6, 32, 32
+ LTEXT "", IDC_PINENT_DESC, 40, 6, 220, 50
+ RTEXT "", IDC_PINENT_PROMPT, 6, 60, 60, 12
+ EDITTEXT IDC_PINENT_TEXT, 70, 59, 140, 12, ES_PASSWORD | ES_AUTOHSCROLL
+ CTEXT "", IDC_PINENT_ERR, 6, 76, 180, 12
+ DEFPUSHBUTTON "O&K", IDOK, 84, 90, 50, 14
+ PUSHBUTTON "&Cancel", IDCANCEL, 140, 90, 50, 14
END
--
2.44.0.windows.1