How to make content to large for a label scrollable within the label?

I have a question about being able to scroll with a label. I have a quiz/test app I am working on and some of my answers are larger than I can fit within the label I have foe them. Is there anyway to scroll the entire answer from within the label? I have seen other post about scrolling the screen nut I am only looking to scroll the text in my label area. App linked below.

https://x.thunkable.com/copy/cdabb2df826a6b326607d04f2319e2d2

1 Like

I have to same issue: need a label that will not “fit” a large text, so i need it to “scroll” the text inside. is that possible ? No answer till now, so here i am, up-ing this topic :thinking:

1 Like

You can do a workaround for a scrolling label but it will only work in the StP (old) UI. At the moment the scrolling effect will not take place in the DnD UI.

Check this example:
https://x.thunkable.com/projectPage/616c0acd6a28d90010b6098e

1 Like

Thank you for the recommendation. I read through a bunch of old post and found a solution for my question. I ended up replacing the label and used a text input box and disabled the editable feature. It has a scrollable feature and fits my needs. I am now trying to teach myself all about LIST. The next feature I need to figure out is how to randomize my quiz questions without duplication. I have seen post on the same question but I don’t fully understand how to implement it. if you wish to see what I have done and if it is the correct way the link is below. I would also take any help with the random question confusion I have.

https://x.thunkable.com/projects/616e3d9662131c0010ef11ba/f6e0297d-ddea-47c0-8276-029892c0fb81/designer

1 Like

When you post a link to a project that has many screens, it’s important to tell us which screen to look at and which blocks you want help with. Otherwise, we have to spend all our time understanding your project first and trying to find the place where you need help. You already know so you can save us that time. :wink:

That being said, if you are randomizing your quiz questions, the algorithm for that looks like this:

  1. Create a list called something like questionNumbers with numbers from 1 to the max number of questions. For example, {1, 2, 3, 4, 5}
  2. Choose a random number from 1 to the length of the list and assign it to a variable called something like randomListItemNumber.
  3. Use the get and remove list block to remove the list item at # randomListItemNumber. Assign it to a variable called something like currentQuestionNumber.
  4. Use the currentQuestionNumber whenever you need to reference data for the question/answers/etc.
  5. Repeat as needed until the length of the questionNumbers list is zero.
1 Like

Is this working only in DnD ? Because i’m trying in StP and didn’t manage to achieve that (or maybe i dont use properties right :thinking:).

@mimostel
check this which has both Label and Text_Input
https://x.thunkable.com/projectPage/616c0acd6a28d90010b6098e

You need to enter number of lines for Text_Input, which is in the advanced tab for StP and in DnD it is a switch (Multiline).

1 Like

Thank you for your time, @muneer
I already achieved that, as in your example. But i want a single line that scrolls horizontally, when text not fitts. That i can’t achieve. Putting 1 line only makes text imput not scroll.

1 Like

Scroll will not take effect for a single line Text_Input but you can use the cursor keys to move back and forth.

1 Like

Yes, as it is an editable component. Still, if you set to non-editable, that will not have the desired result to scroll. So its like running in circle :blush:

1 Like