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: CABUevExz1R1d8_+i-Rq-QSRXGW3wOxHjV4_0XYYBhRFgjQRJ+A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi!

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
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Attachment Content-Type Size
pgadmin_numeric_align.patch application/octet-stream 571 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Magnus Hagander 2012-06-27 14:53:37 Query tool column headers
Previous Message Dave Page 2012-06-25 11:52:59 pgAgent commit: Support new locations for the OSX SDK in recent version