Re: Statistics tab, "Tables" node - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Re: Statistics tab, "Tables" node
Date
Msg-id 48280B9E.6090207@lelarge.info
Whole thread Raw
In response to Re: Statistics tab, "Tables" node  ("Dave Page" <dpage@pgadmin.org>)
Responses Re: Statistics tab, "Tables" node
List pgadmin-hackers
Dave Page a écrit :
> [...]
> What might be a nice enhancement, is some auto-sizing based on column
> heading width. Wanna take a peek at that as well?
>

I finally found some time to work on this. wxwidgets allows to specify
two "default" values :
  * wxLIST_AUTOSIZE
  * wxLIST_AUTOSIZE_USEHEADER

The last one does what we want, but our ctlListView::AddColumn method's
handling of default values was buggy. The attached patch fixes this, and
changes pgTableCollection::ShowStatistics method to handle the new
default value (wxLIST_AUTOSIZE_USEHEADER).

Do we want this for the 1.8 branch ? Obviously, this is a bug fix, but
for the fix to really work, we need more changes (ie using the default
value in each, at least some of them, call to ctlListView::AddColumn).

Comments?


--
Guillaume.
  http://www.postgresqlfr.org
  http://dalibo.com

pgadmin-hackers by date:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r7285 - branches/REL-1_8_0_EDB/pgadmin3/pgadmin/debugger
Next
From: Guillaume Lelarge
Date:
Subject: Re: Statistics tab, "Tables" node