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: CABUevExz1R1d8_+i-Rq-QSRXGW3wOxHjV4_0XYYBhRFgjQRJ+A@mail.gmail.com (view raw or flat)
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: pgadmin_numeric_align.patch
Description: application/octet-stream (571 bytes)

Responses

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-2014 The PostgreSQL Global Development Group