# 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).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xojo.gitbook.io/add-ons/stackview/version-3/tips-and-tricks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
