zotero/zotero — pull request #176 by aurimasv (2012-09-29 08:16:10+00:00)
Title: Item list column width tweaks

There are a couple issues that I wanted to address with the item list.

1) It does not make sense to me that the Attachment and Notes columns are resizable. All they show is one dot, so I set them to fixed width. Dropping width from `zotero-persist` will allow these columns to forget any previous width settings after second restart.

2) Currently, I feel that adjusting column widths is very awkward. One of the problems is that when I try expanding some columns, the adjacent columns shrink to practically 0 width. It's rather frustrating. I added minwidth to all the columns based mostly on the type of data displayed in the field.

3) The second problem with width adjustment, I think, is that it does shrink adjacent columns. This is probably not a big deal when you have two or three columns, but I don't think this behavior is intuitive or convenient for anything more. By allowing overflow and horizontal scrolling, I think it makes it easier to adjust the columns the way you want to. This way you can adjust each column individually without affecting other columns. I don't know if the horizontal scrolling has a lot of benefit for the final set up though (maybe other people would like it).

There is one issue with this however, which I have not figured out yet. With `resizeafter="grow"` in splitter elements and flex attributes removed from treecol, you can actually resize the columns to where they are narrower than the tree box. This looks quite weird. I think ideally, you should not be able to resize the columns any smaller than the full width. I'm not sure how to implement this though. Maybe someone has an idea how to fix it.