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

Re: Dialogs review

From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Guillaume Lelarge" <guillaume(at)lelarge(dot)info>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Dialogs review
Date: 2008-07-21 09:20:15
Message-ID: 937d27e10807210220j707629a4u9ab309d23a109fa1@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
On Sat, Jul 19, 2008 at 3:50 PM, Guillaume Lelarge
<guillaume(at)lelarge(dot)info> wrote:
> Okay... the wxListCtrl resize problem seems to be a wxMac confirmed bug. See
> http://trac.wxwidgets.org/ticket/4814 bug report for more details. Not sure
> about what we should do with this... debug the stuff on wxMac source files?
> or simply put it in the BUGS file and continue the work ?

I was trying to come up with a test case for this using the xrc sample
app in wxWidgets - however it seems to work fine. I used the changes
below - can you see what's different?:

*** controls.xrc.orig	2008-07-21 10:04:12.000000000 +0100
--- controls.xrc	2008-07-21 10:16:49.000000000 +0100
***************
*** 591,606 ****
                      <object class="wxPanel" name="listctrl">
                          <object class="wxFlexGridSizer">
                              <cols>1</cols>
!                             <rows>0</rows>
                              <vgap>0</vgap>
                              <hgap>0</hgap>
                              <growablecols>0</growablecols>
                              <growablerows>0</growablerows>
                              <object class="sizeritem">
!                                 <flag>wxALIGN_CENTER|wxALL</flag>
                                  <border>5</border>
                                  <object class="wxListCtrl"
name="controls_listctrl">
-                                     <size>220,160</size>
                                      <style>wxLC_REPORT|wxSUNKEN_BORDER</style>
                                  </object>
                              </object>
--- 591,605 ----
                      <object class="wxPanel" name="listctrl">
                          <object class="wxFlexGridSizer">
                              <cols>1</cols>
!                             <rows>1</rows>
                              <vgap>0</vgap>
                              <hgap>0</hgap>
                              <growablecols>0</growablecols>
                              <growablerows>0</growablerows>
                              <object class="sizeritem">
!
<flag>wxGROW|wxEXPAND|wxTOP|wxLEFT|wxRIGHT</flag>
                                  <border>5</border>
                                  <object class="wxListCtrl"
name="controls_listctrl">
                                      <style>wxLC_REPORT|wxSUNKEN_BORDER</style>
                                  </object>
                              </object>



-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2008-07-21 09:34:37
Subject: Re: Dialogs review
Previous:From: Guillaume LelargeDate: 2008-07-19 14:50:18
Subject: Re: Dialogs review

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