> For the complete documentation index, see [llms.txt](https://xojo.gitbook.io/add-ons/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xojo.gitbook.io/add-ons/stackview/version-3/tips-and-tricks.md).

# Tips & Tricks

## Windows

{% embed url="<https://blog.xojo.com/2018/04/18/improve-your-projects-look-windows-ui-tips>" %}

* The StackView classes were testet on *Windows 10/11*. To achieve the best possible performance under Windows, set the **Transparent** property (DesktopUIControl - The Demo-Project automatically sets all Properties to `False` on Windows ↠ look **PrepareForWindows** Method) and the **Composited** property (DesktopContainer, DesktopOpenGLSurface) of all controls to `True`. Avoid overlapping controls.

## Linux

* The StackView classes were tested on *Mint 18.2 (Sonya)* and *Mint 19 (Cinnamon)*, *Ubuntu 16*, *Fedora 27/28* and *Elementary OS 5.0 Juno*. The controls used in the sample window are prepared for each of these Linux. Look around, some controls have different sizes on each system. If you are working with a Linux operating system other than the three named above, you can add this to the **GetLinuxType** method within the StackView module and add the specific Linux control sizes to each control subclass in the StackView (Controls) folder.
* If you use PopupMenus or TextFields within a [ViewController](/add-ons/stackview/version-3/details/viewcontroller.md), you should set its **Visible** property in the **Collapse** Event to `False` and vice versa in the **Expand** Event to `True`. See the example of StackViews (Sketch and Apple).
