diff --git a/xwords4/wince/xwords4.rc b/xwords4/wince/xwords4.rc index 68681035c..32b69e703 100755 --- a/xwords4/wince/xwords4.rc +++ b/xwords4/wince/xwords4.rc @@ -296,15 +296,19 @@ BEGIN WS_VSCROLL | WS_TABSTOP END -IDD_ASKPASS DIALOG DISCARDABLE 0, 0, 132, 71 +#define PW_WIDTH 104 +#define PW_OK_LEFT ((PW_WIDTH/2)-10-REPOS_BUTTON_WIDTH) +#define PW_CANCEL_LEFT ((PW_WIDTH/2)+10) + +IDD_ASKPASS DIALOG DISCARDABLE 0, 0, PW_WIDTH, 50 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | DS_CENTER CAPTION "Password" FONT 8, "System" BEGIN - DEFPUSHBUTTON "OK",IDOK,74,42,41,14 - PUSHBUTTON "Cancel",IDCANCEL,15,42,45,14 - EDITTEXT PASS_EDIT,93,13,23,12,ES_PASSWORD | ES_AUTOHSCROLL - LTEXT "",IDC_PWDLABEL,18,13,67,24 + LTEXT "",IDC_PWDLABEL,5,8,67,24 + EDITTEXT PASS_EDIT,76,8,23,12,ES_PASSWORD | ES_AUTOHSCROLL + DEFPUSHBUTTON "OK",IDOK,PW_OK_LEFT,32,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT + PUSHBUTTON "Cancel",IDCANCEL,PW_CANCEL_LEFT,32,REPOS_BUTTON_WIDTH,REPOS_BUTTON_HT END #ifdef XWFEATURE_SEARCHLIMIT