contents must be a view.
i.e. contents = vf:view( contents ) should work.
(same as contents = vf:column( contents ))
Thanks, Rob. I knew I could rely on you... ;=)
I guess this means there's an implict vf:view() wrapped around the contenst argument when it's a single element, but not when its an array...
You are welcome. :-)
The elements are views, the array is not. (a row is a view, a column is a view, a static_text item is a view, a tab_view is a view, and a view is a view).
i.e. Lightroom knows what to do with a view - display its items in a row or column, as specified by the view.
If you pass it an array, it does not know whether you want them left to right, or top to bottom.
I could argue for a default view (columnar) in the case of an array, but that's not how it works.