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

Re: Listctrl sizing (Was: Server Status window work)

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Listctrl sizing (Was: Server Status window work)
Date: 2009-01-06 19:58:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers
Dave Page a écrit :
> On Mon, Jan 5, 2009 at 2:12 PM, Guillaume Lelarge
> <guillaume(at)lelarge(dot)info> wrote:
>> Dave Page a écrit :
>>> Can you post what you have please?
>> Sure, no problem. The last patch I was working on is the one attached,
>> though it seems to work better on Mac than on the linux box... grmbl...
> The size of that patch to fix a listctrl that won't shrink scares me
> :-(. Having played around, it seems it's caused by our use of the
> generic listctrl on Mac (see
> If we use the native control, sizing works fine (though the bottom
> buttons on the dlgType panes get slightly obscured as they do now).

Buttons are hidden on the bottom? check the <style> tag, I think there's
no border for the bottom. Replace wxTOP|wxLEFT|wxRIGHT with wxALL and it
should be better.

> I've asked an expert about this - hopefully we may get some answers.
> If not, I wonder if we can use the generic control selectively
> somehow, so we can avoid the problem cases the commit above fixes, and
> get the sizing right elsewhere.

Could be interesting.

Thanks for looking at this.


In response to


pgadmin-hackers by date

Next:From: svnDate: 2009-01-06 20:20:36
Subject: SVN Commit by dpage: r7539 - trunk/pgadmin3/pgadmin/ui
Previous:From: Dave PageDate: 2009-01-06 14:57:36
Subject: Re: Listctrl sizing (Was: Server Status window work)

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