Re: Dialogs review - Mailing list pgadmin-hackers

From Dave Page
Subject Re: Dialogs review
Date
Msg-id 937d27e10807210220j707629a4u9ab309d23a109fa1@mail.gmail.com
Whole thread Raw
In response to Re: Dialogs review  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Dialogs review  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
On Sat, Jul 19, 2008 at 3:50 PM, Guillaume Lelarge
<guillaume@lelarge.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

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Dialogs review
Next
From: "Dave Page"
Date:
Subject: Re: Dialogs review