On 3/4/06 17:51, "Andrus" <[EMAIL PROTECTED]> 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.


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to