Dave Page a écrit :
> On Wed, Feb 18, 2009 at 11:02 PM, Guillaume Lelarge
> <guillaume@lelarge.info> wrote:
>
>> Done. It was much harder than I initially thought but I really like this
>> one. I checked on each platform and it behaves nicely on each.
>
> Yeah, that looks much nicer. I tried it on Windows and Mac, and came
> across the following issues. Note that I've attached a couple of
> screenshots of the default layouts (ie. having removed all frmStatus
> related settings from the ini file/registry):
>
> - The Refresh rate combo box is top-justified on Mac. Why is it on a
> separate toolbar though?
>
I just copied and pasted the frmQuery example :)
The new patch uses only one toolbar. The combobox is no more
top-justified on Mac.
> - The terminate backend button icon should at least be a different
> colour from the cancel button.
>
Hmmm, I'm not really good at drawing. Anyway, I added some red in it.
> - If I undock a pane on Mac, the default size is about 2 pixels wide
> by 20 high (thats a guess). Makes it pretty hard to see or resize :-p
>
I'm a bit lost here. I have some issues on Mac, but I don't know how to
delete saved preferences. On GTK, it's simple. I just need to edit the
~/.pgadmin3 file. On Windows, it's a bit more difficult but with
regedit, one can do it. But I don't find a way to do this on Mac. Can
you shared your precious knowledge ? :)
> - If I set a different refresh time for each pane, I would expect to
> see the value change in the combo box when I select different panes.
>
Well, it should. And it does when you click on another line than the one
already selected. EVT_LIST_ITEM_SELECTED doesn't get fired when the user
clicks on the already selected row. And I don't find another "activate"
event. Do you one that I can use ?
> - Should we use wxAUI_MGR_ALLOW_ACTIVE_PANE when we setup the manager?
> That will display the title bar of the active pane in a different
> colour, but it's not entirely tied to whether or not the listview is
> active or not. You can see this in the Mac screenshot.
>
Done.
> - The timer defaults should probably be more like 10 seconds than 1.
>
Fixed.
> - There should be a view option for the toolbar.
>
Done too.
> - The default layout does not work with the default size. See the screenshots.
>
I changed them. Hope it will work better.
--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com