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

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

From
Ashesh Vashi
Date:
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(-)


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

Sent from my iPad

> On 21 May 2016, at 09:48, Ashesh Vashi <ashesh.vashi@enterprisedb.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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers


On Sat, May 21, 2016 at 2:49 PM, Dave Page <dpage@pgadmin.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



Sent from my iPad

> On 21 May 2016, at 09:48, Ashesh Vashi <ashesh.vashi@enterprisedb.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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers