Le 08/04/2011 20:28, Dave Page a écrit :
> On Fri, Apr 8, 2011 at 2:38 PM, Guillaume Lelarge
> <[email protected]> wrote:
>>
>> The patch attached makes it a bit bigger. I won't be able to make it
>> bigger though if you want this dialog to work on a 800x600 pixels screen.
>>
>> Wish I had the time to work on the new frmOptions dialog. We wouldn't
>> have this issue...
> 
> It's still not great - but if you reduce the vgap to 4 between the
> sections on the colour tab, it seems to fit (and look) better.
> 

See attached patch. No problem on Linux. Is it OK for you?


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com
>From 46e8f159c316c383c14d280d843c6169a72b38f5 Mon Sep 17 00:00:00 2001
From: Guillaume Lelarge <[email protected]>
Date: Fri, 8 Apr 2011 22:21:08 +0200
Subject: [PATCH 5/5] vgap tweaking

---
 pgadmin/ui/frmOptions.xrc |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/pgadmin/ui/frmOptions.xrc b/pgadmin/ui/frmOptions.xrc
index 78e3015..73a25f3 100644
--- a/pgadmin/ui/frmOptions.xrc
+++ b/pgadmin/ui/frmOptions.xrc
@@ -606,8 +606,8 @@
             <object class="wxPanel" name="pnlColours">
               <object class="wxFlexGridSizer">
                 <cols>1</cols>
-                <vgap>5</vgap>
-                <hgap>5</hgap>
+                <vgap>4</vgap>
+                <hgap>4</hgap>
                 <growablecols>0</growablecols>
                 <object class="sizeritem">
                   <object class="wxStaticBoxSizer">
@@ -617,8 +617,8 @@
                       <object class="wxFlexGridSizer">
                         <cols>3</cols>
                         <rows>3</rows>
-                        <vgap>5</vgap>
-                        <hgap>5</hgap>
+                        <vgap>4</vgap>
+                        <hgap>4</hgap>
                         <growablecols>0,1</growablecols>
                         <object class="sizeritem">
                           <object class="wxCheckBox" name="chkSQLUseSystemBackgroundColour">
@@ -697,8 +697,8 @@
                       <object class="wxFlexGridSizer">
                         <cols>2</cols>
                         <rows>1</rows>
-                        <vgap>5</vgap>
-                        <hgap>5</hgap>
+                        <vgap>4</vgap>
+                        <hgap>4</hgap>
                         <growablecols>0,1</growablecols>
                         <object class="sizeritem">
                           <object class="wxStaticText" name="stSQLCaretColour">
@@ -729,8 +729,8 @@
                     <object class="sizeritem">
                       <object class="wxFlexGridSizer">
                         <cols>4</cols>
-                        <vgap>5</vgap>
-                        <hgap>5</hgap>
+                        <vgap>4</vgap>
+                        <hgap>4</hgap>
                         <growablecols>0,2</growablecols>
                         <object class="sizeritem">
                           <object class="wxStaticText" name="stSQLColour1">
@@ -881,8 +881,8 @@
                       <object class="wxFlexGridSizer">
                         <cols>4</cols>
                         <rows>2</rows>
-                        <vgap>5</vgap>
-                        <hgap>5</hgap>
+                        <vgap>4</vgap>
+                        <hgap>4</hgap>
                         <growablecols>0,2</growablecols>
                         <object class="sizeritem">
                           <object class="wxStaticText" name="stIdleProcessColour">
-- 
1.7.1

-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to