ListView sorting

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ListView sorting

Ian Bartholomew-3
I've just come across the following. Evaluate -

l := ListPresenter show: 'Enhanced list view'.
l view primaryColumn alignment: #center.
l list: #(1 2 3 4 5).

and resort the list using the column header. I assume realigning is
intentional (?) but is there any way of turning it off. I've a couple of
apps that needs sorting but which look much better when aligned in the
centre. I would much prefer optionally losing the sort icon, which I assume
is the reason for the change, than the alignment.

FWIW, evaluating the following with the above showing and sorted, still
answers #centre (or #center if you insist!)

l view primaryColumn alignment

Regards
    Ian


Reply | Threaded
Open this post in threaded view
|

Re: ListView sorting

Blair McGlashan
"Ian Bartholomew" <[hidden email]> wrote in message
news:[hidden email]...
> I've just come across the following. Evaluate -
>
> l := ListPresenter show: 'Enhanced list view'.
> l view primaryColumn alignment: #center.
> l list: #(1 2 3 4 5).
>
> and resort the list using the column header. I assume realigning is
> intentional (?) ....

No, its a bug. The addition of the flags for the column header icon is
overwriting the alignment flags. Thanks for the report (#838)

Regards

Blair