From d5fa633fee8a2bb0bf0c225cf81cb74d458e1804 Mon Sep 17 00:00:00 2001 From: Marco Atzeri Date: Thu, 16 Jun 2016 14:29:08 +0200 Subject: [PATCH 2/2] reformatted view with alignment --- res.rc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/res.rc b/res.rc index d129063..f1cf406 100644 --- a/res.rc +++ b/res.rc @@ -317,11 +317,11 @@ END #define SETUP_KEEP_X (SETUP_CURR_X - SETUP_KPCE_W - 5) // Left-aligned controls. -#define SETUP_VIEWCAP_X (0) -#define SETUP_VIEWCAP_W (40) -#define SETUP_VIEW_X (SETUP_VIEWCAP_X + SETUP_VIEWCAP_W +5) +#define SETUP_VIEW_X (7) #define SETUP_VIEW_W (26) -#define SETUP_SEARCH_X (SETUP_VIEW_X + SETUP_VIEW_W + 5) +#define SETUP_VIEWCAP_X (SETUP_VIEW_X + SETUP_VIEW_W +5) +#define SETUP_VIEWCAP_W (40) +#define SETUP_SEARCH_X (SETUP_VIEWCAP_X + SETUP_VIEWCAP_W + 80) #define SETUP_SEARCH_W (32) #define SETUP_SEARCHTEXT_X (SETUP_SEARCH_X + SETUP_SEARCH_W + 2) #define SETUP_SEARCHTEXT_W (60) @@ -334,16 +334,16 @@ STYLE DS_MODALFRAME | DS_3DLOOK | WS_CHILD | WS_VISIBLE | WS_CAPTION | CAPTION "Cygwin Setup - Select Packages" FONT 8, "MS Shell Dlg" BEGIN - RTEXT "", IDC_CHOOSE_VIEWCAPTION, SETUP_VIEWCAP_X, 33, - SETUP_VIEWCAP_W, 10 PUSHBUTTON "&View", IDC_CHOOSE_VIEW, SETUP_VIEW_X, 30, SETUP_VIEW_W, 14, WS_EX_RIGHT - RTEXT "&Search", IDC_STATIC, SETUP_SEARCH_X, 30, SETUP_SEARCH_W, - 12, SS_CENTERIMAGE, WS_EX_RIGHT + LTEXT "", IDC_CHOOSE_VIEWCAPTION, SETUP_VIEWCAP_X, 33, + SETUP_VIEWCAP_W, 10 + RTEXT "&Search", IDC_STATIC, SETUP_SEARCH_X, 33, SETUP_SEARCH_W, + 10, SS_CENTERIMAGE, WS_EX_RIGHT EDITTEXT IDC_CHOOSE_SEARCH_EDIT, SETUP_SEARCHTEXT_X, 30, - SETUP_SEARCHTEXT_W, 12 + SETUP_SEARCHTEXT_W, 14 PUSHBUTTON "&Clear", IDC_CHOOSE_CLEAR_SEARCH, SETUP_CLEAR_X, 30, - SETUP_CLEAR_W, 12 + SETUP_CLEAR_W, 14 CONTROL "&Keep", IDC_CHOOSE_KEEP, "Button", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, SETUP_KEEP_X, 30, SETUP_KPCE_W, 14 CONTROL "&Curr", IDC_CHOOSE_CURR, "Button", BS_AUTORADIOBUTTON, -- 2.8.3