I would like to able to enter larger strings other than ‘print(“Hello World”)’ so I would not be able to just make the TextLabel’s height smaller. If it helps, I’m trying to display code.
If you have any ideas on how to fix this it would be great!
I would like to be able to have the ‘print(“Hello World”)’ text scale to fit inside the grey box at any device size, yet I wouldn’t like it to be wrapped like seen in the second screenshot.
Oooh I get it. For that you will need a plugin. I know some free ones, but I don’t really remember their name. If you search on the marketplace, you should find instantly the one you’re looking for. The plugin adds an UI setting that resizes the text box at all times for any device.
I’ve just installed it yet I don’t see where it can help, I’ve tried adding a constraint but it doesn’t help as all that would do is just limit it scaling, which I don’t want, I just don’t want it to wrap.
First thing first, you need to set the anchor point to 0,0. After that, the UI component will move a few studs. Put in in its original area and after that use the button. That should do the trick
From all the tutorials I’ve seen, it does the trick but I think it’s because when you use the phone/tablet the system will try to resize it and move it but changing the anchor point to 0,0 it will not allow it to move/scale randomly.