public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [setup] move view from left to right
@ 2016-06-15 10:06 Marco Atzeri
  2016-06-15 12:49 ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Marco Atzeri @ 2016-06-15 10:06 UTC (permalink / raw)
  To: cygwin-patches

[-- Attachment #1: Type: text/plain, Size: 303 bytes --]

I always found counter intuitive to have the view button filter on
the right.

I was also thinking to replace the 3 button choice with
2 sets:

keep vs update
exp vs current

but the update logic on

  ChooserPage::keepClicked()
  ChooserPage::changeTrust(trusts aTrust)

it is not really immediate.




[-- Attachment #2: 0001-Moved-view-from-right-to-left.patch --]
[-- Type: text/plain, Size: 3490 bytes --]

From 3545e9c765a069c314acdbde24a0e5eccf8458dd Mon Sep 17 00:00:00 2001
From: Marco Atzeri <marco.atzeri@gmail.com>
Date: Sun, 12 Jun 2016 17:45:16 +0200
Subject: [PATCH] Moved view from right to left

---
 choose.cc |  4 ++--
 res.rc    | 19 ++++++++++---------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/choose.cc b/choose.cc
index b0e5538..42d8b74 100644
--- a/choose.cc
+++ b/choose.cc
@@ -83,9 +83,9 @@ static ControlAdjuster::ControlInfo ChooserControlsInfo[] = {
   {IDC_CHOOSE_KEEP, 		CP_RIGHT,   CP_TOP},
   {IDC_CHOOSE_CURR, 		CP_RIGHT,   CP_TOP},
   {IDC_CHOOSE_EXP, 		CP_RIGHT,   CP_TOP},
-  {IDC_CHOOSE_VIEW, 		CP_RIGHT,   CP_TOP},
+  {IDC_CHOOSE_VIEW, 		CP_LEFT,    CP_TOP},
   {IDC_LISTVIEW_POS, 		CP_RIGHT,   CP_TOP},
-  {IDC_CHOOSE_VIEWCAPTION,	CP_RIGHT,   CP_TOP},
+  {IDC_CHOOSE_VIEWCAPTION,	CP_LEFT,    CP_TOP},
   {IDC_CHOOSE_LIST,		CP_STRETCH, CP_STRETCH},
   {IDC_CHOOSE_HIDE,             CP_LEFT,    CP_BOTTOM},
   {0, CP_LEFT, CP_TOP}
diff --git a/res.rc b/res.rc
index 472687d..d129063 100644
--- a/res.rc
+++ b/res.rc
@@ -312,16 +312,16 @@ END
 #define SETUP_KPCE_W		(30)
 
 // Right-aligned controls.
-#define SETUP_VIEWCAP_W		(40)
-#define SETUP_VIEWCAP_X		(SETUP_STANDARD_DIALOG_W - SETUP_VIEWCAP_W - 7)
-#define SETUP_VIEW_W		(26)
-#define SETUP_VIEW_X		(SETUP_VIEWCAP_X - SETUP_VIEW_W - 5)
-#define SETUP_EXP_X		(SETUP_VIEW_X - SETUP_KPCE_W - 5)
+#define SETUP_EXP_X		(SETUP_STANDARD_DIALOG_W - SETUP_KPCE_W - 7)
 #define SETUP_CURR_X		(SETUP_EXP_X - SETUP_KPCE_W - 5)
 #define SETUP_KEEP_X		(SETUP_CURR_X - SETUP_KPCE_W - 5)
 
 // Left-aligned controls.
-#define SETUP_SEARCH_X		(0)
+#define SETUP_VIEWCAP_X		(0)
+#define SETUP_VIEWCAP_W		(40)
+#define SETUP_VIEW_X		(SETUP_VIEWCAP_X + SETUP_VIEWCAP_W +5)
+#define SETUP_VIEW_W		(26)
+#define SETUP_SEARCH_X		(SETUP_VIEW_X + SETUP_VIEW_W + 5)
 #define SETUP_SEARCH_W		(32)
 #define SETUP_SEARCHTEXT_X	(SETUP_SEARCH_X + SETUP_SEARCH_W + 2)
 #define SETUP_SEARCHTEXT_W	(60)
@@ -334,6 +334,10 @@ 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
     EDITTEXT        IDC_CHOOSE_SEARCH_EDIT, SETUP_SEARCHTEXT_X, 30,
@@ -346,8 +350,6 @@ BEGIN
                     SETUP_CURR_X, 30, SETUP_KPCE_W, 14
     CONTROL         "E&xp", IDC_CHOOSE_EXP, "Button", BS_AUTORADIOBUTTON,
                     SETUP_EXP_X, 30, SETUP_KPCE_W, 14
-    PUSHBUTTON      "&View", IDC_CHOOSE_VIEW, SETUP_VIEW_X, 30, SETUP_VIEW_W,
-                    14, WS_GROUP
     CONTROL         "", IDC_HEADSEPARATOR, "Static", SS_BLACKFRAME | SS_SUNKEN,
                     0, 28, SETUP_STANDARD_DIALOG_W, 1
     CONTROL         "", IDC_LISTVIEW_POS, "Static", SS_BLACKFRAME | NOT 
@@ -359,7 +361,6 @@ BEGIN
                     IDC_CHOOSE_INST_TEXT, 21, 9, 239, 16, NOT WS_GROUP
     LTEXT           "Select Packages", IDC_STATIC_HEADER_TITLE, 7, 0, 258, 8,
                     NOT WS_GROUP
-    LTEXT           "", IDC_CHOOSE_VIEWCAPTION, SETUP_VIEWCAP_X, 33, SETUP_VIEWCAP_W, 10
 END
 
 IDD_PREREQ DIALOG DISCARDABLE  0, 0, SETUP_STANDARD_DIALOG_DIMS
-- 
2.8.3


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [setup] move view from left to right
  2016-06-15 10:06 [setup] move view from left to right Marco Atzeri
@ 2016-06-15 12:49 ` Corinna Vinschen
       [not found]   ` <c0854c9c-3b17-4570-733d-fc325b27d1f9@gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Corinna Vinschen @ 2016-06-15 12:49 UTC (permalink / raw)
  To: cygwin-patches

[-- Attachment #1: Type: text/plain, Size: 834 bytes --]

Hi Marco,


in theory patches to setup should go to the cygwin-apps list, but
never mind, cygwin-patches is just as well.

On Jun 15 12:06, Marco Atzeri wrote:
> I always found counter intuitive to have the view button filter on
> the right.

Do you have a screenshot to show how this looks, by any chance?

> I was also thinking to replace the 3 button choice with
> 2 sets:
> 
> keep vs update
> exp vs current
> 
> but the update logic on
> 
>  ChooserPage::keepClicked()
>  ChooserPage::changeTrust(trusts aTrust)
> 
> it is not really immediate.

I agree, but the idea makes sense.  If you ever have fun to hack on
this, please feel free.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [setup] move view from left to right
       [not found]   ` <c0854c9c-3b17-4570-733d-fc325b27d1f9@gmail.com>
@ 2016-06-15 14:52     ` Marco Atzeri
  2016-06-15 15:39       ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Marco Atzeri @ 2016-06-15 14:52 UTC (permalink / raw)
  To: cygwin-patches

On 15/06/2016 16:37, Marco Atzeri wrote:
> On 15/06/2016 14:49, Corinna Vinschen wrote:
>> Hi Marco,
>>
>>
>> in theory patches to setup should go to the cygwin-apps list, but
>> never mind, cygwin-patches is just as well.
>>
>> On Jun 15 12:06, Marco Atzeri wrote:
>>> I always found counter intuitive to have the view button filter on
>>> the right.
>>
>> Do you have a screenshot to show how this looks, by any chance?
>

Spam filter don't like pictures so, I put them here:
http://matzeri.altervista.org/works/setup/

>
>>> I was also thinking to replace the 3 button choice with
>>> 2 sets:
>>>
>>> keep vs update
>>> exp vs current
>>>
>>> but the update logic on
>>>
>>>  ChooserPage::keepClicked()
>>>  ChooserPage::changeTrust(trusts aTrust)
>>>
>>> it is not really immediate.
>>
>> I agree, but the idea makes sense.  If you ever have fun to hack on
>> this, please feel free.
>

I need to refresh my C++ knowledge to understand what
changeTrust is doing, so it could take a while.
>
>
>
>> Corinna

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [setup] move view from left to right
  2016-06-15 14:52     ` Marco Atzeri
@ 2016-06-15 15:39       ` Corinna Vinschen
  2016-06-15 16:13         ` Marco Atzeri
  2016-06-16 11:13         ` Marco Atzeri
  0 siblings, 2 replies; 9+ messages in thread
From: Corinna Vinschen @ 2016-06-15 15:39 UTC (permalink / raw)
  To: cygwin-patches

[-- Attachment #1: Type: text/plain, Size: 1977 bytes --]

On Jun 15 16:52, Marco Atzeri wrote:
> On 15/06/2016 16:37, Marco Atzeri wrote:
> > On 15/06/2016 14:49, Corinna Vinschen wrote:
> > > Hi Marco,
> > > 
> > > 
> > > in theory patches to setup should go to the cygwin-apps list, but
> > > never mind, cygwin-patches is just as well.
> > > 
> > > On Jun 15 12:06, Marco Atzeri wrote:
> > > > I always found counter intuitive to have the view button filter on
> > > > the right.
> > > 
> > > Do you have a screenshot to show how this looks, by any chance?
> > 
> 
> Spam filter don't like pictures so, I put them here:
> http://matzeri.altervista.org/works/setup/

Thank you.  What strikes me immediately is that the search field and
clear button are not in the same height.  I never noticed before.
Actually, I think search field and clear button are a pixel too narrow.

And in the second picture the "Not installed" text is too far left.

What about this:

- Arrange the "View" button with the left side of the package table.

- Arrange the accompanying text right of the button.

- Move "Search [...] Clear" to the center?

- If you don't mind the extra work, align the y-pos and height of the
  search stuff to the other elements in the row?

> > > > I was also thinking to replace the 3 button choice with
> > > > 2 sets:
> > > > 
> > > > keep vs update
> > > > exp vs current
> > > > 
> > > > but the update logic on
> > > > 
> > > >  ChooserPage::keepClicked()
> > > >  ChooserPage::changeTrust(trusts aTrust)
> > > > 
> > > > it is not really immediate.
> > > 
> > > I agree, but the idea makes sense.  If you ever have fun to hack on
> > > this, please feel free.
> > 
> 
> I need to refresh my C++ knowledge to understand what
> changeTrust is doing, so it could take a while.

Same here :)


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [setup] move view from left to right
  2016-06-15 15:39       ` Corinna Vinschen
@ 2016-06-15 16:13         ` Marco Atzeri
  2016-06-16 11:13         ` Marco Atzeri
  1 sibling, 0 replies; 9+ messages in thread
From: Marco Atzeri @ 2016-06-15 16:13 UTC (permalink / raw)
  To: cygwin-patches

On 15/06/2016 17:39, Corinna Vinschen wrote:
> On Jun 15 16:52, Marco Atzeri wrote:
>> On 15/06/2016 16:37, Marco Atzeri wrote:
>>> On 15/06/2016 14:49, Corinna Vinschen wrote:

>> Spam filter don't like pictures so, I put them here:
>> http://matzeri.altervista.org/works/setup/
>
> Thank you.  What strikes me immediately is that the search field and
> clear button are not in the same height.  I never noticed before.
> Actually, I think search field and clear button are a pixel too narrow.
>
> And in the second picture the "Not installed" text is too far left.
>
> What about this:
>
> - Arrange the "View" button with the left side of the package table.
>
> - Arrange the accompanying text right of the button.
>
> - Move "Search [...] Clear" to the center?
>
> - If you don't mind the extra work, align the y-pos and height of the
>   search stuff to the other elements in the row?
>


I will play a bit and let you know


>
> Thanks,
> Corinna
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [setup] move view from left to right
  2016-06-15 15:39       ` Corinna Vinschen
  2016-06-15 16:13         ` Marco Atzeri
@ 2016-06-16 11:13         ` Marco Atzeri
  2016-06-16 12:07           ` Corinna Vinschen
  1 sibling, 1 reply; 9+ messages in thread
From: Marco Atzeri @ 2016-06-16 11:13 UTC (permalink / raw)
  To: cygwin-patches

On 15/06/2016 17:39, Corinna Vinschen wrote:
> On Jun 15 16:52, Marco Atzeri wrote:
>> On 15/06/2016 16:37, Marco Atzeri wrote:
>>> On 15/06/2016 14:49, Corinna Vinschen wrote:

> What about this:
>
> - Arrange the "View" button with the left side of the package table.
>
> - Arrange the accompanying text right of the button.
>
> - Move "Search [...] Clear" to the center?
>
> - If you don't mind the extra work, align the y-pos and height of the
>   search stuff to the other elements in the row?
>

http://matzeri.altervista.org/works/setup/Round2/

let me know

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [setup] move view from left to right
  2016-06-16 11:13         ` Marco Atzeri
@ 2016-06-16 12:07           ` Corinna Vinschen
  2016-06-16 12:32             ` Marco Atzeri
  0 siblings, 1 reply; 9+ messages in thread
From: Corinna Vinschen @ 2016-06-16 12:07 UTC (permalink / raw)
  To: cygwin-patches

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

On Jun 16 13:13, Marco Atzeri wrote:
> On 15/06/2016 17:39, Corinna Vinschen wrote:
> > On Jun 15 16:52, Marco Atzeri wrote:
> > > On 15/06/2016 16:37, Marco Atzeri wrote:
> > > > On 15/06/2016 14:49, Corinna Vinschen wrote:
> 
> > What about this:
> > 
> > - Arrange the "View" button with the left side of the package table.
> > 
> > - Arrange the accompanying text right of the button.
> > 
> > - Move "Search [...] Clear" to the center?
> > 
> > - If you don't mind the extra work, align the y-pos and height of the
> >   search stuff to the other elements in the row?
> > 
> 
> http://matzeri.altervista.org/works/setup/Round2/
> 
> let me know

looks great!


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [setup] move view from left to right
  2016-06-16 12:07           ` Corinna Vinschen
@ 2016-06-16 12:32             ` Marco Atzeri
  2016-06-16 13:03               ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Marco Atzeri @ 2016-06-16 12:32 UTC (permalink / raw)
  To: cygwin-patches

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

On 16/06/2016 14:07, Corinna Vinschen wrote:
> On Jun 16 13:13, Marco Atzeri wrote:
>> On 15/06/2016 17:39, Corinna Vinschen wrote:
>>> On Jun 15 16:52, Marco Atzeri wrote:
>>>> On 15/06/2016 16:37, Marco Atzeri wrote:
>>>>> On 15/06/2016 14:49, Corinna Vinschen wrote:
>>
>>> What about this:
>>>
>>> - Arrange the "View" button with the left side of the package table.
>>>
>>> - Arrange the accompanying text right of the button.
>>>
>>> - Move "Search [...] Clear" to the center?
>>>
>>> - If you don't mind the extra work, align the y-pos and height of the
>>>   search stuff to the other elements in the row?
>>>
>>
>> http://matzeri.altervista.org/works/setup/Round2/
>>
>> let me know
>
> looks great!
>
>
> Thanks,
> Corinna
>

attached the two patches

[-- Attachment #2: 0001-Moved-view-from-right-to-left.patch --]
[-- Type: text/plain, Size: 3494 bytes --]

From 3545e9c765a069c314acdbde24a0e5eccf8458dd Mon Sep 17 00:00:00 2001
From: Marco Atzeri <marco.atzeri@gmail.com>
Date: Sun, 12 Jun 2016 17:45:16 +0200
Subject: [PATCH 1/2] Moved view from right to left

---
 choose.cc |  4 ++--
 res.rc    | 19 ++++++++++---------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/choose.cc b/choose.cc
index b0e5538..42d8b74 100644
--- a/choose.cc
+++ b/choose.cc
@@ -83,9 +83,9 @@ static ControlAdjuster::ControlInfo ChooserControlsInfo[] = {
   {IDC_CHOOSE_KEEP, 		CP_RIGHT,   CP_TOP},
   {IDC_CHOOSE_CURR, 		CP_RIGHT,   CP_TOP},
   {IDC_CHOOSE_EXP, 		CP_RIGHT,   CP_TOP},
-  {IDC_CHOOSE_VIEW, 		CP_RIGHT,   CP_TOP},
+  {IDC_CHOOSE_VIEW, 		CP_LEFT,    CP_TOP},
   {IDC_LISTVIEW_POS, 		CP_RIGHT,   CP_TOP},
-  {IDC_CHOOSE_VIEWCAPTION,	CP_RIGHT,   CP_TOP},
+  {IDC_CHOOSE_VIEWCAPTION,	CP_LEFT,    CP_TOP},
   {IDC_CHOOSE_LIST,		CP_STRETCH, CP_STRETCH},
   {IDC_CHOOSE_HIDE,             CP_LEFT,    CP_BOTTOM},
   {0, CP_LEFT, CP_TOP}
diff --git a/res.rc b/res.rc
index 472687d..d129063 100644
--- a/res.rc
+++ b/res.rc
@@ -312,16 +312,16 @@ END
 #define SETUP_KPCE_W		(30)
 
 // Right-aligned controls.
-#define SETUP_VIEWCAP_W		(40)
-#define SETUP_VIEWCAP_X		(SETUP_STANDARD_DIALOG_W - SETUP_VIEWCAP_W - 7)
-#define SETUP_VIEW_W		(26)
-#define SETUP_VIEW_X		(SETUP_VIEWCAP_X - SETUP_VIEW_W - 5)
-#define SETUP_EXP_X		(SETUP_VIEW_X - SETUP_KPCE_W - 5)
+#define SETUP_EXP_X		(SETUP_STANDARD_DIALOG_W - SETUP_KPCE_W - 7)
 #define SETUP_CURR_X		(SETUP_EXP_X - SETUP_KPCE_W - 5)
 #define SETUP_KEEP_X		(SETUP_CURR_X - SETUP_KPCE_W - 5)
 
 // Left-aligned controls.
-#define SETUP_SEARCH_X		(0)
+#define SETUP_VIEWCAP_X		(0)
+#define SETUP_VIEWCAP_W		(40)
+#define SETUP_VIEW_X		(SETUP_VIEWCAP_X + SETUP_VIEWCAP_W +5)
+#define SETUP_VIEW_W		(26)
+#define SETUP_SEARCH_X		(SETUP_VIEW_X + SETUP_VIEW_W + 5)
 #define SETUP_SEARCH_W		(32)
 #define SETUP_SEARCHTEXT_X	(SETUP_SEARCH_X + SETUP_SEARCH_W + 2)
 #define SETUP_SEARCHTEXT_W	(60)
@@ -334,6 +334,10 @@ 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
     EDITTEXT        IDC_CHOOSE_SEARCH_EDIT, SETUP_SEARCHTEXT_X, 30,
@@ -346,8 +350,6 @@ BEGIN
                     SETUP_CURR_X, 30, SETUP_KPCE_W, 14
     CONTROL         "E&xp", IDC_CHOOSE_EXP, "Button", BS_AUTORADIOBUTTON,
                     SETUP_EXP_X, 30, SETUP_KPCE_W, 14
-    PUSHBUTTON      "&View", IDC_CHOOSE_VIEW, SETUP_VIEW_X, 30, SETUP_VIEW_W,
-                    14, WS_GROUP
     CONTROL         "", IDC_HEADSEPARATOR, "Static", SS_BLACKFRAME | SS_SUNKEN,
                     0, 28, SETUP_STANDARD_DIALOG_W, 1
     CONTROL         "", IDC_LISTVIEW_POS, "Static", SS_BLACKFRAME | NOT 
@@ -359,7 +361,6 @@ BEGIN
                     IDC_CHOOSE_INST_TEXT, 21, 9, 239, 16, NOT WS_GROUP
     LTEXT           "Select Packages", IDC_STATIC_HEADER_TITLE, 7, 0, 258, 8,
                     NOT WS_GROUP
-    LTEXT           "", IDC_CHOOSE_VIEWCAPTION, SETUP_VIEWCAP_X, 33, SETUP_VIEWCAP_W, 10
 END
 
 IDD_PREREQ DIALOG DISCARDABLE  0, 0, SETUP_STANDARD_DIALOG_DIMS
-- 
2.8.3


[-- Attachment #3: 0002-reformatted-view-with-alignment.patch --]
[-- Type: text/plain, Size: 2341 bytes --]

From d5fa633fee8a2bb0bf0c225cf81cb74d458e1804 Mon Sep 17 00:00:00 2001
From: Marco Atzeri <marco.atzeri@gmail.com>
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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [setup] move view from left to right
  2016-06-16 12:32             ` Marco Atzeri
@ 2016-06-16 13:03               ` Corinna Vinschen
  0 siblings, 0 replies; 9+ messages in thread
From: Corinna Vinschen @ 2016-06-16 13:03 UTC (permalink / raw)
  To: cygwin-patches

[-- Attachment #1: Type: text/plain, Size: 1125 bytes --]

On Jun 16 14:32, Marco Atzeri wrote:
> On 16/06/2016 14:07, Corinna Vinschen wrote:
> > On Jun 16 13:13, Marco Atzeri wrote:
> > > On 15/06/2016 17:39, Corinna Vinschen wrote:
> > > > On Jun 15 16:52, Marco Atzeri wrote:
> > > > > On 15/06/2016 16:37, Marco Atzeri wrote:
> > > > > > On 15/06/2016 14:49, Corinna Vinschen wrote:
> > > 
> > > > What about this:
> > > > 
> > > > - Arrange the "View" button with the left side of the package table.
> > > > 
> > > > - Arrange the accompanying text right of the button.
> > > > 
> > > > - Move "Search [...] Clear" to the center?
> > > > 
> > > > - If you don't mind the extra work, align the y-pos and height of the
> > > >   search stuff to the other elements in the row?
> > > > 
> > > 
> > > http://matzeri.altervista.org/works/setup/Round2/
> > > 
> > > let me know
> > 
> > looks great!
> > 
> > 
> > Thanks,
> > Corinna
> > 
> 
> attached the two patches

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-06-16 13:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-15 10:06 [setup] move view from left to right Marco Atzeri
2016-06-15 12:49 ` Corinna Vinschen
     [not found]   ` <c0854c9c-3b17-4570-733d-fc325b27d1f9@gmail.com>
2016-06-15 14:52     ` Marco Atzeri
2016-06-15 15:39       ` Corinna Vinschen
2016-06-15 16:13         ` Marco Atzeri
2016-06-16 11:13         ` Marco Atzeri
2016-06-16 12:07           ` Corinna Vinschen
2016-06-16 12:32             ` Marco Atzeri
2016-06-16 13:03               ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).