# Long Text on Dashboard

**URL:** <https://discourse.nodered.org/t/long-text-on-dashboard/63976>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [15 June 2022 13:27 UTC](https://discourse.nodered.org/t/long-text-on-dashboard/63976 "2022-06-15T13:27:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernie1502](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bernie1502/32/63276_2.png) [@Bernie1502](https://discourse.nodered.org/u/Bernie1502)\
**Post date:** [15 June 2022 13:27 UTC](https://discourse.nodered.org/t/long-text-on-dashboard/63976/1 "2022-06-15T13:27:53Z")

</div>

Hi all,  
i'm trying to display an long text (quotes - so the length may vary) on the dashboard in an text-node.  
My example flow (with static content here):

```auto
[{"id":"af43035e3b6b4a84","type":"tab","label":"Flow 6","disabled":false,"info":"","env":[]},{"id":"d83c30feefae2991","type":"ui_text","z":"af43035e3b6b4a84","group":"eb983c93529eead5","order":1,"width":0,"height":0,"name":"","label":"{{msg.payload.zitat}}","format":"{{msg.payload.urheber}}","layout":"col-center","className":"zitat","x":710,"y":180,"wires":[]},{"id":"e19e3929b3e9d96f","type":"inject","z":"af43035e3b6b4a84","name":"","props":[{"p":"payload.zitat","v":"We must understand love; we must be able to teach it, to create it, to predict it, or else the world is lost to hostility and to suspicion.","vt":"str"},{"p":"payload.urheber","v":" Abraham Maslow","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":390,"y":180,"wires":[["d83c30feefae2991"]]},{"id":"eb983c93529eead5","type":"ui_group","name":"Zitate","tab":"ebb1ed1c.5ebe2","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"ebb1ed1c.5ebe2","type":"ui_tab","name":"Mischok Academy","icon":"dashboard","disabled":false,"hidden":false}]

```

But, the text may be bigger than the group and so the text is overlaying the header or is not in the container. (see the pic)  
 ![2022-06-15 15_22_41-Dashboard Mischok Academy](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/5/358eb36b4ee05bbaa0446d802c757cbc21736012.png)

The text-node is on auto-size. How can i get the height of the container dynamically arranged?

Thx for any help!!!

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [15 June 2022 14:49 UTC](https://discourse.nodered.org/t/long-text-on-dashboard/63976/2 "2022-06-15T14:49:08Z")

</div>

Auto size just sets the widget to 1 x width of group, height has to be set and is not dynamic.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 July 2022 14:49 UTC](https://discourse.nodered.org/t/long-text-on-dashboard/63976/3 "2022-07-15T14:49:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
