# Text

<div align="left"><img src="/files/-MIxukSFNICFAqkiAMG5" alt=""></div>

| Property      | Function                                                                                                                                                                                 | Type     |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| Text          | <p>Sets text<br><br><strong>Actions editor:</strong><br><code>Property > Text > Text</code><br><strong>Code:</strong><br><code>widget.content.text</code></p>                            | `string` |
| Columns       | <p>Sets columns number<br><br><strong>Actions editor:</strong><br><code>Property > Text > Columns</code><br><strong>Code:</strong><br><code>widget.content.columns</code></p>            | `int`    |
| Column margin | <p>Sets column margins<br><br><strong>Actions editor:</strong><br><code>Property > Text > Column margin</code><br><strong>Code:</strong><br><code>widget.content.columnMargin</code></p> | `double` |
| Margins       | <p>Sets text margins<br><br><strong>Actions editor:</strong><br><code>Property > Text > Margins</code><br><strong>Code:</strong><br><code>widget.content.margins</code></p>              | `double` |
| Link          | <p>Sets link<br><br><strong>Actions editor:</strong><br><code>Property > Text > Link</code><br><strong>Code:</strong><br><code>widget.content.link</code></p>                            | `string` |
| ScrollX       | <p>Not documented<br><br><strong>Actions editor:</strong><br><code>Property > Text > ScrollX</code><br><strong>Code:</strong><br><code>widget.content.scrollX</code></p>                 | `double` |
| ScrollY       | <p>Not documented<br><br><strong>Actions editor:</strong><br><code>Property > Text > ScrollY</code><br><strong>Code:</strong><br><code>widget.content.scrollY</code></p>                 | `double` |

## Actions

| Property      | Function                                                                                                                                                                                                                  |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Clear text    | <p><strong>Actions editor:</strong><br><code>Actions > Common > Clear text</code><br><strong>Code:</strong><br><code>widget.content.script.actionClearText()</code></p>                                                   |
| Append text   | <p>Append text to the bottom<br><br><strong>Actions editor:</strong><br><code>Actions > Common > Append text</code><br><strong>Code:</strong><br><code>widget.content.script.actionAppendText(QString newText)</code></p> |
| Set text      | <p><strong>Actions editor:</strong><br><code>Actions > Common > Set text</code><br><strong>Code:</strong><br><code>widget.content.script.actionSetText(QString newText)</code></p>                                        |
| Scroll to top | <p><strong>Actions editor:</strong><br><code>Actions > Common > Scroll to top</code><br><strong>Code:</strong><br><code>widget.content.script.actionScrollTop()</code></p>                                                |
| Scroll to end | <p><strong>Actions editor:</strong><br><code>Actions > Common > Scroll to end</code><br><strong>Code:</strong><br><code>widget.content.script.actionScrollBottom()</code></p>                                             |

## Events

| Property     | Function                                                                                                                                                                                           |
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Text changed | <p>Event when text is changed<br><br><strong>Actions editor:</strong><br><code>Event > Text changed</code><br><strong>Code:</strong><br><code>widget.content.script.eventTextChanged()</code></p>  |
| Link clicked | <p>Event when link is clicked<br><br><strong>Actions editor:</strong><br><code>Event > Link clicked</code><br><strong>Code:</strong><br><code>widget.content.script.eventLinkClicked()</code></p>  |
| Scroll       | <p>Event when text is scrolled<br><br><strong>Actions editor:</strong><br><code>Event > Scroll</code><br><strong>Code:</strong><br><code>widget.content.script.eventScroll()</code></p>            |
| Scroll stop  | <p>Event when scroll is finished<br><br><strong>Actions editor:</strong><br><code>Event > Scroll stop</code><br><strong>Code:</strong><br><code>widget.content.script.eventScrollStop()</code></p> |


---

# 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://docs.flipabit.dev/api/widget/text.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.
