Re: Table width when using list_filter

2008-10-30 Thread Karen Tracey
On Thu, Oct 30, 2008 at 4:28 PM, Fabio Natali
<[EMAIL PROTECTED]>wrote:

> Hi everybody!
>
> I'm a bit confused about the behaviour of my change list page.
>
> If I enable list_filter the table (the one listing my model instances)
> "shrinks" and its width is no more 100% of the space available. All
> the columns and data are perfeclty shown, it's just that everything is
> more narrow. Obviously, part of the width is taken by the list_filter
> window, but the table shrinks down far more.
>
> Is this behaviour normal? Is there any reason for it?
>
> I use trunk django and a cutting edge firefox browser.
>
>
I see the same behavior, at least for models that don't have a lot of
columns with wide text in the change list.  It appears that, with a filter
present, the columns are narrowed to only however wide they need to be to
fit the longest entry in the column, whereas without a filter the columns
are expanded so that the full set covers the whole width of the screen.  I
expect it's a side-effect of the css needed to get the filter in place;
whether it's a necessary or accidental side-effect I don't know -- I've
never cared about it enough to look into it, especially since css isn't my
favorite thing to play with.

Karen

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Table width when using list_filter

2008-10-30 Thread Fabio Natali

Hi everybody!

I'm a bit confused about the behaviour of my change list page.

If I enable list_filter the table (the one listing my model instances)
"shrinks" and its width is no more 100% of the space available. All
the columns and data are perfeclty shown, it's just that everything is
more narrow. Obviously, part of the width is taken by the list_filter
window, but the table shrinks down far more.

Is this behaviour normal? Is there any reason for it?

I use trunk django and a cutting edge firefox browser.

Cheers, Fabio.

-- 
Fabio Natali

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---