Re: Numeric alignment in query grid

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Numeric alignment in query grid
Date: 2012-06-27 14:56:37
Message-ID: CA+OCxowQrk-UZgHhPACJJ+cJES8iFLDMz-CoLaMdHVBHYBoMAQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Wed, Jun 27, 2012 at 2:37 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> 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?

Yes.

> 2) do we want to always do this (like this patch), or do we need to
> create a setting for it?

I don't think there's a great need for a setting, though, we do have
lots of room for them now, so maybe it wouldn't hurt to avoid annoying
users that like the old way.

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

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Magnus Hagander 2012-06-27 14:58:16 Re: Numeric alignment in query grid
Previous Message Magnus Hagander 2012-06-27 14:53:37 Query tool column headers