What is the general workflow for creating UI widgets in the editor that incorporate ScrollView? I can’t, for the life of me, figure out how to create the scroll bars and content element. I’ve got this widget:
I’ve been building it by hand but I’m trying to figure out how to build such a beast in the editor instead, for quicker iteration on designs. However, I can’t figure out how to set up the content and scroll bars. For my own edification, I tried saving the widget to XML after creating it by hand, but importing the saved XML into the editor doesn’t work well. The widget imports (sort of; the icons for the scroll arrows and scrollbar field are screwed up and there are other issues as well), and it has scroll bars and a content pane (albeit with the screwed up icons), but I can’t access those internal elements via the edit tree. They appear on the widget, but I can’t edit them.
I’m guessing that I need to create the widget in different pieces: the frame/box with the selector buttons and a panel for the scrollview widget, then manually set up the scroll view and scroll bars and add them to the panel. This seems kinda clunky to me. Am I missing something?