Re: pgAdmin 4 commit: Allow to specify the height & width from the javascri

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgAdmin 4 commit: Allow to specify the height & width from the javascri
Date: 2016-05-21 09:24:04
Message-ID: CAG7mmoxa9=H_Lxej5+aF=sKf1qiwMkd9oLGHGzLprMX0+RY=mQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Sat, May 21, 2016 at 2:49 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:

> Hmm, haven't tested this yet, but normally using %ages for sizing doesn't
> work well.
>

Setting value in 'px' after calculating the correct value.

We can use value in 'px', 'ex', 'em', '%' any allowed supported sizes with
this.

So far - we've been using 50% for both height, width, when creating the
panel for any node.
Now - we can change them after this commit.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com/>

*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi>

>
> Sent from my iPad
>
> > On 21 May 2016, at 09:48, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
> wrote:
> >
> > Allow to specify the height & width from the javascript modules of an
> > individual node.
> >
> > Branch
> > ------
> > master
> >
> > Details
> > -------
> >
> http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=875e2513591748bcfbbdee1062b5ccd894517ddc
> >
> > Modified Files
> > --------------
> > libraries.txt | 1 +
> > .../schemas/tables/templates/table/js/table.js | 2 +
> > .../templates/server_groups/server_groups.js | 2 +
> > web/pgadmin/browser/templates/browser/js/node.js | 48
> +++++++++++++---------
> > web/pgadmin/static/js/pgadmin.js | 5 +++
> > 5 files changed, 38 insertions(+), 20 deletions(-)
> >
> >
> > --
> > 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
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2016-05-21 09:33:20 pgAdmin 4 commit: Fixes few issues with File Manager.
Previous Message Dave Page 2016-05-21 09:19:06 Re: pgAdmin 4 commit: Allow to specify the height & width from the javascri