Skip site navigation (1) Skip section navigation (2)

Re: Can't access entire window in Graphical Query Builder (Windows platform)

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
Cc: Michael Haltrecht <michael(at)computergeek(dot)ca>, pgadmin-support(at)postgresql(dot)org
Subject: Re: Can't access entire window in Graphical Query Builder (Windows platform)
Date: 2010-04-13 18:59:06
Message-ID: 4BC4BEFA.8050905@lelarge.info (view raw or flat)
Thread:
Lists: pgadmin-support
Le 13/04/2010 09:01, Guillaume Lelarge a écrit :
> Hi Ashesh,
> 
> Le 12/04/2010 11:14, Ashesh Vashi a écrit :
>> [...]
>> Right click on GQB will popup a menu (Refresh).
>> This will adjust the size of the scroll windows, if the table's size goes
>> beyond the current size.
>>
> 
> I checked your patch this morning. Works great. Thanks Ashesh.
> 
>> 1200x800 is the default minimum size of the scrolled window defined by the
>> constants:
>> *#define GQB_MIN_WIDTH  1280*
>> *#define GQB_MIN_HEIGHT 800*
>> *
>> *
>> I tried adding the same code, when adding a new table/view.
>> But, if I select a table for next to get created (by double click on
>> left-side tree) and then press left clicks few times, the application is
>> crashing.. Hence, just added this code to work with the pop-up menu. :-(
>>
> 
> Didn't try this, but will do tonight. It would be better if it
> automatically grows the canvas size.
> 

It seems to work with this patch (to apply above your own patch). Can
you try it, please? It didn't crash for me, but I'm not a good tester.


-- 
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Attachment: canvas.patch
Description: text/x-patch (1.4 KB)

In response to

Responses

pgadmin-support by date

Next:From: Ashesh VashiDate: 2010-04-14 07:35:20
Subject: Re: Can't access entire window in Graphical Query Builder (Windows platform)
Previous:From: Guillaume LelargeDate: 2010-04-13 10:00:29
Subject: Re: Bug: recent files reset

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group