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

Поиск
Список
Период
Сортировка
От Ashesh Vashi
Тема Re: Can't access entire window in Graphical Query Builder (Windows platform)
Дата
Msg-id o2v8cf965d31004120214yd133c723g671c08fe496e1db7@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Can't access entire window in Graphical Query Builder (Windows platform)  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: Can't access entire window in Graphical Query Builder (Windows platform)  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgadmin-support
Hi Guillaume,

PFA.

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.

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. :-(

--
Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise Postgres Company



On Mon, Apr 12, 2010 at 1:04 PM, Guillaume Lelarge <guillaume@lelarge.info> wrote:
Hi Ashesh,

Le 12/04/2010 03:44, Ashesh Vashi a écrit :
> Hi Guillaume,
>
> On Sat, Apr 10, 2010 at 2:40 PM, Guillaume Lelarge
> <guillaume@lelarge.info>wrote:
>
>> Le 17/03/2010 12:34, Guillaume Lelarge a écrit :
>>> Le 16/03/2010 17:29, Michael Haltrecht a écrit :
>>>> Even when I rotate my monitor (so it's taller than wider), I can't
>> scroll to
>>>> access past the 55th field.
>>>> The window scroll bars don't seem to take into account the actual size
>> of
>>>> the table.
>>>>
>>>> This is still an issue in 1.10.2
>>>>
>>>
>>> I added this in our bugtracker : http://code.pgadmin.org/trac/ticket/151
>>>
>>> Thanks for your report.
>>>
>>
>> I reproduce this quite easily. In fact, we don't have scroll bars in
>> tables' graphic representation and 55 fields is the maximum number of
>> fields we can render on the canvas. So, you're right, you can't see past
>> the 55th field.
>>
>> A simple way to fix this would be to have a bigger canvas. A smarter way
>> to fix this would be to have a growable canvas. The better way would be
>> to have a growable canvas and resizable tables' graphic representation.
>>
>> Ashesh, is there something we can do on this issue?
>>
>
> I have sent a fix for the same for the same in my The-print-support.
> But, It was never got revisited. :-(
>
> If you want, I can resend a patch, which takes care about this only..
>

If you can do so, yes, that would be great.

Thanks.


--

Вложения

В списке pgadmin-support по дате отправления:

Предыдущее
От: Vikram A
Дата:
Сообщение: Re: File Handling in pgsql
Следующее
От: Dave Page
Дата:
Сообщение: Re: Bug: recent files reset