Stack Views are a great way to build dynamic interfaces. Simply append a bunch of container controls into a stack view and you've now got a scrollable UI, which supports collapsing (and expanding) elements.
The OWStackView was designed and written specifically for Xojo made applications, such as our App Wrapper, yet still providing macOS theme consistency and scrolling that customers expect from a Mac application.
OWStackView2021 is used in various parts of App Wrapper 4, scroll left or right to see more.
The OWStackView is an integral part of App Wrapper, it provides the scrollable UI in the document window for various "panes" of settings, including the results pane, the files list in the "Bundle Contents" and the certificate list in the identity seletor.
The Ohanaware App Kit 2021 includes code and objects like this that will help you to build better Mac apps using the Xojo development tool. Get the new 2021 version as part of the Omegabundle 2021.
To see what else is new for 2021, check out https://ohanaware.com/appkit/ or https://www.omegabundle.net/whats-included-in-this-omegabundle