Thread: [pgadmin-hackers] [pgAdmin4][Patch]: Added the shortcut (CTRL + 0) to reset the zoomlevel in runtime
[pgadmin-hackers] [pgAdmin4][Patch]: Added the shortcut (CTRL + 0) to reset the zoomlevel in runtime
From
Khushboo Vashi
Date:
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.
Thanks,
Khushboo
Attachment
Re: [pgadmin-hackers] [pgAdmin4][Patch]: Added the shortcut (CTRL +0) to reset the zoom level in runtime
From
Dave Page
Date:
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? -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Re: [pgadmin-hackers] [pgAdmin4][Patch]: Added the shortcut (CTRL +0) to reset the zoom level in runtime
From
Khushboo Vashi
Date:
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
Re: [pgadmin-hackers] [pgAdmin4][Patch]: Added the shortcut (CTRL +0) to reset the zoom level in runtime
From
Dave Page
Date:
Nice work! Committed (along with an update to the docs). Congratulations on your first C++ patch :-) On Tue, Jun 13, 2017 at 7:07 AM, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote: > 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 > > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Re: [pgadmin-hackers] [pgAdmin4][Patch]: Added the shortcut (CTRL +0) to reset the zoom level in runtime
From
Khushboo Vashi
Date:
On Tue, Jun 13, 2017 at 2:52 PM, Dave Page <dpage@pgadmin.org> wrote:
Nice work! Committed (along with an update to the docs).
Congratulations on your first C++ patch :-)
Thanks Dave. :)
On Tue, Jun 13, 2017 at 7:07 AM, Khushboo Vashi<khushboo.vashi@enterprisedb.com > wrote:
> 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
>
>
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company