mirror of https://github.com/OpenVPN/openvpn-gui
Change OK button style to BS_DEFPUSHBUTTON in auth-user-pass dialog
- Make the OK button appear highlighted as the default action so that the user can press enter and submit the form. This also gives a clearer indication of the default action when automatic submission of saved username/password activates. Signed-off-by: Selva Nair <selva.nair@gmail.com>pull/186/head
parent
cf2d1a8632
commit
d98ad55467
|
@ -48,7 +48,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Uložit heslo", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Zrušit", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -48,7 +48,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Passwort speichern", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "Ok", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Ok", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Abbrechen", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -49,7 +49,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Save password", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Annuller", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -48,7 +48,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Save password", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Cancel", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -47,7 +47,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Save password", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -48,7 +48,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Tallenna salasana", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Peruuta", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -47,7 +47,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Se souvenir du mot de passe", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Annuler", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -47,7 +47,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Save password", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Annulla", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -50,7 +50,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Save password", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "キャンセル", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -49,7 +49,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 35, 6, 115, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 35, 23, 115, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "암호 저장", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "확인", IDOK, 25, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "확인", IDOK, 25, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "취소", IDCANCEL, 85, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -47,7 +47,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Wachtwoord opslaan", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Annuleren", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -48,7 +48,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Husk passord", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -49,7 +49,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Save password", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Anuluj", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -47,7 +47,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Save password", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Cancelar", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -49,7 +49,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 80, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 80, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Запомнить", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 30, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 30, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Отмена", IDCANCEL, 100, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 180, 10
|
||||
END
|
||||
|
|
|
@ -47,7 +47,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Save password", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Avbryt", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -49,7 +49,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 50, 6, 104, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 50, 23, 104, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Save password", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "Tamam", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Tamam", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Çıkış", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
|
@ -47,7 +47,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 80, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 80, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "Запам'ятати", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "OK", IDOK, 30, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "OK", IDOK, 30, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "Скасувати", IDCANCEL, 100, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 180, 10
|
||||
END
|
||||
|
|
|
@ -50,7 +50,7 @@ BEGIN
|
|||
EDITTEXT ID_EDT_AUTH_USER, 60, 6, 94, 12, ES_AUTOHSCROLL
|
||||
EDITTEXT ID_EDT_AUTH_PASS, 60, 23, 94, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
||||
CHECKBOX "儲存密碼", ID_CHK_SAVE_PASS, 6, 42, 100, 10
|
||||
PUSHBUTTON "確認", IDOK, 20, 58, 50, 14, BS_PUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "確認", IDOK, 20, 58, 50, 14, BS_DEFPUSHBUTTON | WS_TABSTOP | WS_DISABLED
|
||||
PUSHBUTTON "取消", IDCANCEL, 90, 58, 52, 14
|
||||
LTEXT "", ID_TXT_WARNING, 6, 74, 150, 10
|
||||
END
|
||||
|
|
Loading…
Reference in New Issue