Hi Steffen

On Sun, Aug 22, 2010 at 3:30 PM, Steffen Kuhn <[email protected]> wrote:
> Hi,
>
> as already mentioned, I'm not that firm with the  multiplatform demands.
> Anyway here is my suggest working on ubuntu gnome.

I think I missed the email with the screenshot - can you resend it please?

Guillaume; this dialogue (like frmOptions) seems to have some residual
mis-formatting from the addition of sizers (I assume). Specifically,
there is no border between the tabset and the edges of the dialogue,
and the OK/Cancel buttons and the edges of the dialogue. Perhaps you
could work your magic on them, and apply Steffen's patch at the same
time if you think it's appropriate?

Thanks!

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Postgres Company
diff --git a/pgadmin/dlg/dlgEditGridOptions.cpp b/pgadmin/dlg/dlgEditGridOptions.cpp
index 8ab4f2a..1275c74 100644
--- a/pgadmin/dlg/dlgEditGridOptions.cpp
+++ b/pgadmin/dlg/dlgEditGridOptions.cpp
@@ -85,6 +85,8 @@ dlgEditGridOptions::dlgEditGridOptions(frmEditGrid *win, pgConn *conn, const wxS
     int leftSize = 140, rightSize;
     leftSize = ConvertDialogToPixels(wxPoint(leftSize, 0)).x;
     rightSize = lstSortCols->GetClientSize().GetWidth()-leftSize;
+    if (rightSize < leftSize)
+    	rightSize = leftSize + 1;
     lstSortCols->InsertColumn(0, _("Column name"), wxLIST_FORMAT_LEFT, leftSize);
     lstSortCols->InsertColumn(1, _("Sort order"), wxLIST_FORMAT_LEFT, rightSize);
 
-- 
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