When I include AutoResizeColumn=-1 in the [Playlist] section of my SKIN.INI, the auto-resize is not prevented. I have tried it in the [Playlist0] section as well and it still does not work (i.e. it does not ‘switch off’ the AutoResize function).
It isAutoSizeColumn I am using in the INI file (the typo is one I repeatedly make when posting—but only when posting! ;)).
Setting AutoSizeColumn=-1 in the SKIN.INI file does not disable auto-sizing. What I want to be able to do is to have ‘empty’ space to the right of the columns, to allow space for a vertical scroll bar even if one is not currently displayed.
Even with that AutoSizeColumn=-1 setting, the Playlist grid/treeview will always auto-size columns to fill the entire width. It is possible to manually drag column headers to create that 15px or so of ‘blank’ to the right of the final displayed column, but loading or appending an MLP file, or even switching between standard and extended view, makes the grid expand to fill ALL the available width.
Found the problems. There’s another auto-size option in Virtual Treeview I forgot to disable. Fixed the problem.
By the way, altering the auto-size index does only make sense when you also have manual column widths, doesn’t it? If so, I might drop the AutoSizeIndex setting completely in favor of a “*” setting in ColWidths similar to HTML:
ColWidths=100,150,*,150,150,100,80
If there’s one column set to “", it becomes the AutoSizeIndex. If there’s no column set to "”, AutoResize is disabled.
Yes! The reason for doing this is to stop Playlist columns ‘jumping’ in size when the vertical scroll bar appears/disappears as the number of items in the Playlist changes.