Skip site navigation (1) Skip section navigation (2)

Numeric alignment in query grid

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Numeric alignment in query grid
Date: 2012-06-27 13:37:08
Message-ID: (view raw or whole thread)
Lists: pgadmin-hackers

Something that's annoyed me for a long time is that all fields are
left-aligned in the query grid. It's a lot easier to read numeric
fields when they are right-justified.

Attached patch right-justifies fields that are numeric.

Two questions:

1) does this seem like a reasonable way of doing it?
2) do we want to always do this (like this patch), or do we need to
create a setting for it?

 Magnus Hagander

Attachment: pgadmin_numeric_align.patch
Description: application/octet-stream (571 bytes)


pgadmin-hackers by date

Next:From: Magnus HaganderDate: 2012-06-27 14:53:37
Subject: Query tool column headers
Previous:From: Dave PageDate: 2012-06-25 11:52:59
Subject: pgAgent commit: Support new locations for the OSX SDK in recentversion

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group