# Responsiveness

realvirtual.io is designed to run on a variety of devices, including **PCs, mobile devices, WebGL, and different screen resolutions**. Achieving a responsive and adaptive UI across these platforms can be challenging. To simplify this, **realvirtual.io includes special scaler scripts** to handle different screen sizes and resolutions automatically. You can adopt the settings based on your special application needs.

### **Scaler Scripts for Responsive UI**

#### **Toolbar Scaler**

The **Toolbar Scaler** ensures that toolbars scale properly depending on screen size and platform.

* **Adjusts toolbar height and scale** dynamically.
* **Handles scaling for different screen resolutions**, ensuring UI elements remain accessible.
* **Platform-specific deactivation:**
  * Allows disabling elements for **Linux, Windows, and WebGL** when needed.

<figure><img src="/files/JxmfsLhAeMN90nIk0QXN" alt=""><figcaption><p>Toolbar Scaler</p></figcaption></figure>

#### **Overlay Button Scaler**

The **Overlay Button Scaler** is used for the ovlerlay buttons on the right hand side.

* **Dynamically scales UI buttons based on screen size.**
* **Custom width and height settings** for different screen resolutions.
* **Supports platform-based UI adjustments** (e.g., different behaviors for **Android, iOS, WebGL**).

<figure><img src="/files/KueQBYrfnqIcEm7sd8Sn" alt=""><figcaption><p>Oberlay Button Scaler</p></figcaption></figure>


---

# 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://doc.realvirtual.io/basics/runtime-ui/responsiveness.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.
