It seems like the Markup List XML Component Example on this page is incorrect, in that it does not actually include a MarkupList
I’m looking for a way to have a horizontally laid out MarkupList with layoutDirection=“horizontal” but that gives
=================================================================
Warnings occurred while creating XML component ChannelSurferFilter
– Tried to set nonexistent field “layoutDirection” of a “MarkupList” node
The example MarkupList code on that page does include layoutDirection=“horizontal” but that’s for LayoutGroup that doesn’t accept focus;
=================================================================
Warning occurred while setting a field of an RoSGNode
– Tried to set nonexistent field “focus” of a “LayoutGroup” node
I appreciate any suggestions - thanks!
I’ll play around with that example and sure there’s a way to achieve it, but seems it would’ve been most convenient if we could display a MarkupList horizontally in addition to vertically, since then the focus and navigation would be handled out of the box.
Update, maybe there’s a way to do it using RowList with only a single row in the vertical direction. I’ll do some experimenting.
cheers
“joetesta” wrote:
I’m looking for a way to have a horizontally laid out MarkupList with layoutDirection="horizontal
Try a MarkupGrid with numRows set to 1. That should scroll horizontally.
Thanks TheEndless! I got it working with Rowlist but looks like you’re right, and MarkupGrid is slightly less complex, might be worth switching it up. thanks again.
Aaaaargh - well, I’m stuck.
MarkupGrid does not provide animations like RowList does (“rowFocusAnimationStyle”).
And RowList does not seem to allow variable width elements; “rowItemSize” applies to the whole row.
So is there some combination that provides a scrolling horizontal row with variable width elements?
Awesome, I don’t know why I didn’t realize that before, given that link on the doc page “Extends: ArrayGrid”
Thanks TheEndless, maybe what I want is possible with existing components after all!
Thank you!!!