wxListCtrl in ICON stryle on GTK

Robin

I'm using the wxListCtrl in the ICON style. On Windows this
works nicely with the exception the the icons are sorted by file
name and not with the directories first. I'm guessing I need to
implement a sort function but a style flag that does this would
be really great.

The real problem is on GTK. The icons are spaced in columns that
vary on the width of the filename so a long filename makes that
column of icons very wide. On windows, the long filenames are
ignored in the spacing and are trucated with ...

Any plans to beautify the icon layout in GTK or is it limited
by the native dialog?

Nigel

···

--
Nigel W. Moriarty
Building 4R0230
Physical Biosciences Division
Lawrence Berkeley National Laboratory
Berkeley, CA 94720-8235
Phone : 510-486-5709
Fax : 510-486-5909
Email : NWMoriarty@LBL.gov
Web : CCI.LBL.gov

Nigel Moriarty wrote:

The real problem is on GTK. The icons are spaced in columns that
vary on the width of the filename so a long filename makes that
column of icons very wide. On windows, the long filenames are ignored in the spacing and are trucated with ...

Any plans to beautify the icon layout in GTK or is it limited
by the native dialog?

On wxGTK it is currently a generic widget so it could probably be changed. Please enter a wxWindows feature request (or a patch!) for it.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin

I put in a feature request at wxWindows.

I have worked a little on a python class that emulates the MSW
behaviour. If that is of interest I can provide it.

Nigel

···

On Tue, 07 Oct 2003 12:53:29 -0700 Robin Dunn <robin@alldunn.com> wrote:

Nigel Moriarty wrote:
>
> The real problem is on GTK. The icons are spaced in columns that
> vary on the width of the filename so a long filename makes that
> column of icons very wide. On windows, the long filenames are
> ignored in the spacing and are trucated with ...
>
> Any plans to beautify the icon layout in GTK or is it limited
> by the native dialog?

On wxGTK it is currently a generic widget so it could probably be
changed. Please enter a wxWindows feature request (or a patch!) for it.

--
Nigel W. Moriarty
Building 4R0230
Physical Biosciences Division
Lawrence Berkeley National Laboratory
Berkeley, CA 94720-8235
Phone : 510-486-5709
Fax : 510-486-5909
Email : NWMoriarty@LBL.gov
Web : CCI.LBL.gov