Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamic Text Box

Hi All,

Is it possible to create a text box in such a way that it's size changes according to the text present in the text box.

Thanks,

Asma

1 Solution

Accepted Solutions
maxgro
MVP
MVP

there is a vertical scrollbar in text box

View solution in original post

10 Replies
giakoum
Partner - Master II
Partner - Master II

only with a macro. Depending on length of text, you can use a macro to define width and height.

But I would not recommend that. What drives this need?

AbhijitBansode
Specialist
Specialist

instead of macro, you can have two text objects.

show and hide them as per you requirement.

sujeetsingh
Master III
Master III

There are many ways

> Size to data check box selected on layout tab of properties

> You can use extensions for this

Not applicable
Author

The size to Data option is disabled for a text box.

AbhijitBansode
Specialist
Specialist

Size to data will not work for text objects.

Not applicable
Author

There is an excel file in which user enters text. The text entered in the excel is displayed inside the text object. At times, when the text is very long, it does not fit automatically in the text box. There should be a text box whose size changes according to the text present in the text box.

giakoum
Partner - Master II
Partner - Master II

Just assign it as much space as you have available. if it does not fit, create a button that shows a hidden gigantic text box to cover all the screen

maxgro
MVP
MVP

there is a vertical scrollbar in text box

Not applicable
Author

Is anyone aware of any text box extension object whose size changes according to the text entered.