Re: [pgadmin-hackers] [pgAdmin4][Patch]: Added the shortcut (CTRL +0) to reset the zoom level in runtime - Mailing list pgadmin-hackers

From Khushboo Vashi
Subject Re: [pgadmin-hackers] [pgAdmin4][Patch]: Added the shortcut (CTRL +0) to reset the zoom level in runtime
Date
Msg-id CAFOhELepWUpQh5jDCJz-JZzAtTs6RGVNnvLSNrRe_i+LOWv4qQ@mail.gmail.com
Whole thread Raw
In response to Re: [pgadmin-hackers] [pgAdmin4][Patch]: Added the shortcut (CTRL +0) to reset the zoom level in runtime  (Dave Page <dpage@pgadmin.org>)
Responses Re: [pgadmin-hackers] [pgAdmin4][Patch]: Added the shortcut (CTRL +0) to reset the zoom level in runtime  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi,

On Mon, Jun 12, 2017 at 5:27 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi

On Mon, Jun 12, 2017 at 5:33 AM, Khushboo Vashi
<khushboo.vashi@enterprisedb.com> wrote:
> Hi,
>
> Please find the attached patch to reset the zoom level in the desktop
> runtime.
>
> Added the new shortcut CTRL + 0 to reset the zoom level.

The code looks good, however I don't think resetting to the startup
value is really what we want. Shouldn't it reset it to 1.0?

I have changed the code. 
Also, introduced a single slot for Zoom In/Out/Reset rather than 3 different. 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgadmin-hackers by date:

Previous
From: pgAdmin 4 Jenkins
Date:
Subject: [pgadmin-hackers] Build failed in Jenkins: pgadmin4-master-python27 #164
Next
From: Ashesh Vashi
Date:
Subject: [pgadmin-hackers] pgAdmin 4 commit: Using client-side 'url_for' implementation in theGra