I did. It just applied the stroke around the border of the textlabel
is that not what you’re trying to do?
No, I’m trying to apply a UIStroke to the text
Thats a property of the text label.
But you need to use UIStroke to edit the thickness of the Stroke. Under TextLabel you can only edit the color and transparency, and It doesnt scale correctly
UIStroke is for ui elements… the textlabel itself not the text within.
This is why I want to use UIStroke
Well then i stand corrected… i will test in studio.
Ok disable RichText in the label… this thing is always causing other issues anyway.
Well… That fixed it. I didn’t even realize I had rich text enabled. Thanks for the help.
And I’m once again disappointed. I was hoping UIStroke would scale correctly but it still gets smaller on larger screens
Let me see if i can find a workaround, give me a bit.
Edit: but keep in mind if it stays the same thickness it might not be readable on smaller resolutions, so they might have it remain similar for a reason, but let me try out some things.
Sounds good… I will try what I can think of too. Out of anything on ROBLOX studio, GUI has always given me the most trouble
Funny thing is… reading the forum post about it, one of the things they are boasting about is that you can customize it with richtext through scripts
RichText has been giving people mixed results when in studio versus in game… and i have read a few solutions that all point the finger (in a positive way) at disabling rich text. Maybe some things need to be fine-tuned with it for it work seamlessly (and maybe on our end, not roblox end).
The stroke thickness gets smaller on larger screens?
iPhone 4S:
Xbox:
I also tested the game on my Phone and Laptop. On the phone it is thicker, laptop, thinner.
Ok the best i could do was adding the following to the TextLabel:
-
UIAspectRatioConstraint - at 3, with aspect type at scalewithparentsize
-
UIScale
-
UIStroke - as discussed
-
UITextSizeConstraint - i played with max at 40 and min at 20… but this is how i was able to keep the stroke looking relatively the same across resolutions, so play with the max and min until u get something u can live with.