Question about data viewers

Is there a way to make a dynamic data viewer where the size of each row dynamically adjusts to its data? Like for example if the 1st row is only 2 lines of text and the 2nd row is 5 lines? I am making a custom layout

You can set the height of the layout container to “fit contents” and it will adjust the height depending on the amount of text.

it doesn’t seem to be working in the data viewer. let me explain again - I want the size of each row in the custom layout of my data viewer to dynamically “fit contents” Some rows might take up 5 lines of text, some others may take up 1, some may take up 3… I don’t want to make each row in my custom layout to be able to contain 10 lines because then each row will have a lot of extra space, especially if there is only 1 line of text.

I’m assuming you tried what I suggested. Can you post a link to a project so I can see how you set it up? I understand what you’re wanting to do and I’m pretty sure my advice will work.

Unfortunately I cannot since my school doesn’t allow me to share this app I am making for them. Would u be able to make a quick little thing that works in your own test project and share the link. If not possible I might be able to privately share it with you via discord

Ah figured it out thank you!

1 Like