From: | Dinesh Kumar <dinesh(dot)kumar(at)enterprisedb(dot)com> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | "J(dot)F(dot) Oster" <jinfroster(at)mail(dot)ru>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: PATCH: Choose best width for Data Output columns of Query tool |
Date: | 2013-11-19 09:17:15 |
Message-ID: | CAKWsr7g_WHJhccXmMntx46SYDZ80kC-5axtbAkkn8=ZwLP=4GQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Sure Dave.
Dinesh
--
*Dinesh Kumar*
Software Engineer
Ph: +918087463317
Skype ID: dinesh.kumar432
www.enterprisedb.co
<http://www.enterprisedb.com/>m<http://www.enterprisedb.com/>
*Follow us on Twitter*
@EnterpriseDB
Visit EnterpriseDB for tutorials, webinars,
whitepapers<http://www.enterprisedb.com/resources-community> and
more <http://www.enterprisedb.com/resources-community>
On Tue, Nov 19, 2013 at 2:38 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> Dinesh, can you review this please? In particular, please check it
> retains the column sizes following refresh if the user has customised
> them, and that it puts a limit on the size of very long columns so the
> user doesn't potentially end up with extremely wide columns that
> require excessive scrolling (I would suggest that a column should
> never take up more than 50% of the visible space, unless that space
> would otherwise be unused (e.g. you have 1 very narrow column, and one
> large).
>
> Thanks.
>
> On Sun, Nov 17, 2013 at 6:41 PM, J.F. Oster <jinfroster(at)mail(dot)ru> wrote:
> > Hi All,
> >
> > Please see the attached patch.
> > It makes use of wxGrid's AutoSizeColumns() and applies some reasonable
> > limits afterwards. Works nicely in most scenarios I could imagine.
> > Tested with wxWidgets 2.8.12 on Ubuntu Linux.
> >
> > Possibly this code should be moved to some procedure and triggered
> > from on-resize event handler as well?
> > Also it would be nice to have same behavior in "Edit Data" window
> > (ctlSQLEditGrid). But I'm new to wxWidgets... so please let me know
> > how to implement that better.
> > Thanks!
> >
> >
> > P.S. My company is moving from Oracle and a perfect IDE called "PL/SQL
> > Developer" (by allroundautomations.com) to PostgreSQL and pgAdmin III.
> > Having used pgAdmin years before, I see it gaining functionality to
> > support fast-growing PostgreSQL's features (great job!) but not
> > usability that well. Hope I can work on that (as far as I can :))
> >
> > --
> > Best regards,
> > Vadim
> >
> > --
> > Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> > To make changes to your subscription:
> > http://www.postgresql.org/mailpref/pgadmin-hackers
> >
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dinesh Kumar | 2013-11-19 12:35:05 | Re: PATCH: Choose best width for Data Output columns of Query tool |
Previous Message | Dave Page | 2013-11-19 09:08:17 | Re: PATCH: Choose best width for Data Output columns of Query tool |