Hi Dave,
this seems to be a Windows only problem.
I could check this for:
Ubuntu - works fine without the need of patch
Windows Vista & XP - strange behavior; fixed by a few pixels more for
DefaultRowSize and attached patch
Regards Steffen
Am 27.08.2010 21:20, schrieb Steffen Kuhn:
Hi all,
I could track this down a bit more.
This behaviour is realted to default row height under windows (also
reproduceable on Windows XP).
If I make the row higher this behaviour disappears.
Regrads Steffen
-------- Original-Nachricht --------
Betreff: [pgadmin-hackers] Editing date values in frmEditGrid
Datum: Thu, 19 Aug 2010 17:02:02 +0200
Von: Steffen Kuhn <[email protected]>
Antwort an: [email protected]
An: [email protected]
Hi ,
I recognized an issue about editing date values in frmEditGrid on Vista
pgAdminIII 1.12.0 beta4.
Moving the cursor makes the value appear and disappear. Can anyone confirm that?
May be this issue is related to ticket #197 but I don't know.
Regards Steffen
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
diff --git a/pgadmin/frm/frmEditGrid.cpp b/pgadmin/frm/frmEditGrid.cpp
index 67a28e9..fd65e6a 100644
--- a/pgadmin/frm/frmEditGrid.cpp
+++ b/pgadmin/frm/frmEditGrid.cpp
@@ -111,6 +111,9 @@ frmEditGrid::frmEditGrid(frmMain *form, const wxString& _title, pgConn *_conn, p
SetStatusBarPane(-1);
sqlGrid = new ctlSQLEditGrid(this, CTL_EDITGRID, wxDefaultPosition, wxDefaultSize);
+#ifdef __WXMSW__
+ sqlGrid->SetDefaultRowSize(sqlGrid->GetDefaultRowSize()+2, true);
+#endif
// Set up toolbar
toolBar = new ctlMenuToolbar(this, -1, wxDefaultPosition, wxDefaultSize, wxTB_FLAT | wxTB_NODIVIDER);
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers