Re: Grid column caption not readable

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: Andrus <eetasoft(at)online(dot)ee>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Grid column caption not readable
Date: 2006-04-03 19:16:00
Message-ID: C0573300.9352%dpage@vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On 3/4/06 17:51, "Andrus" <eetasoft(at)online(dot)ee> wrote:

>>> I looked into changelog but havent found any information.
>>>
>>> What is the file name or revision number where this was fixed ?
>
>> It was fixed as part of:
> http://svn.pgadmin.org/cgi-bin/viewcvs.cgi?rev=5057&view=rev
>
>> See the line:
>
>> SetColLabelAlignment(wxALIGN_LEFT, wxALIGN_CENTER);
>
>> In ctlSQLGrid::ctlSQLGrid(wxWindow *parent, wxWindowID id, const
> wxPoint& pos, const wxSize& size) in ctlSqlGrid.cpp (now renamed to
> ctlSQLGrid.cpp).
>
> In VFP grid column caption is centered. However, when column width is too
> small, the column shows only leftmost characters, not from center.
>
> It seems that if text width is greater than column width column alignment
> is changed dynamically to left and changed back to center if column is
> resized to be wider.
>
> wxGRID does not support this, right ?

Not directly as far as I've ever seen. Shouldn't be a horrendous problem to
do in pgAdmin, though I can't guarantee it would get in until people have
had a chance to see how it behaves and looks. Feel free to work up a patch
though if you like :-)

Regards, Dave.

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Miha Radej 2006-04-04 07:56:59 Feature request - option to exclude docs when installing
Previous Message Andrus 2006-04-03 16:51:02 Re: Grid column caption not readable