This feature has buffed my chat system so much, it works so well!
Disable RichText, increase the height, Enable RichText, set the height to TextBounds.Y
Although this looks very confusing to understand at first, this is a very welcome feature to the game! Thank you, Roblox!
Shhhhhā¦
I waited for too long for roblox to increase the text max size cap
I really hope its intended behaviour and they dont change it
This is what Iāve been waiting for, thank you!
Would appreciate some way to show the priority for a specific format over others, specifically in the colour sense for example:
<font color= "rgb(0, 0, 0)"> <font color= "rgb(240, 40, 10)">Colored text </font> </font>
Will set the text to red, however the ability to add a priority integer somewhere in there to instead cooler the text white would be appreciate
Priority works depending on the closest enclosing tag for the text.
<font color="rgb(255,255,255)">
Testing
<font color="rgb(255,0,0)" size="10"><font size="16">foo</font></font>
bar
</font>
This would create Testing foo bar
where foo
is red with size 16, not 10
I donāt think a priority attribute is necessary for tags, if you want to not apply a specific item to a piece of text, you should not enclose it with tags
I admit my use case is very specific (Making commented code override all other syntax highlighting) however an optional int to set the priority would still be appreciated, especially since its optional so shouldnāt inconvenience any other use cases.
This takes place for my favourite update, but will we be able to change the Text Font in the future?
Thanks for the feedback~ We are looking into this issue now. I will add it to the tracking list.
Is Roblox Studio gonna test the new custom font import?
Finally got to play around with the feature today. Took me a couple hours mostly debugging but got syntax highlighting working pretty well.
Though when I add too much text it just gives upā¦
Not sure if this is an implementation limitation or something going wrong with my code. Either way, pretty nifty.
Still is probably more efficient to split each line into a separate TextLabel; the 200k character property limit, apparent limit to rich text rendering, and the fact that spaces and tabs still donāt render well on multi-line text make this more of a headache than it should be.
Completely agree.
I understand thereās the issue of Copyrighted Material but thatās ROBLOX in general.
If theyāre able to monitor: Clothing, Groups, Audio, Images, Places and now videos surely custom font wonāt be an overload.
Especially if I can have my account terminated for a PokĆ©mon game created in 2007. Thatās all tho.
Text still functions without RichText and it can be disabled if needed
Will there ever be a function that letās us convert a RichText string to a normal string?
Example:
This is possible by using string patterns:
local text = '<b>Test</b> <font size="14" color="rgb(255,0,255)">String</font>'
print(text:gsub("</?%s*[bius]%s*>", ""):gsub("</?font%s*[%w%s='\"\(\),]*>", ""))
-- Output: Test String
Unless this isnt what you mean
Wow! Iām loving these new UI updates. Thisāll be huge for UI Designers.
This is really cool, but the way itās formatted is kinda redundant.
Itās not a very good user experience (go to around 14 seconds)
Have you guys considered doing it in a similar way to how Minecraft does it?
A lot of modded minecraft servers have it like this:
https://www.spigotmc.org/resources/colorcodes.32415/
In vanilla minecraft, you use this symbol: Ā§
to add color to book and quills
The main thing that would be nice is a āresetā indicator instead of closing HTML brackets.
Maybe the format could be something like:
\<b> Bold Text here ā Bold Text here
\<i> Italicized Text here ā Italicized Text here
\<s> strikes through Text here ā strikes through Text here
and then \<r> to reset
you could do something like this:
\<b>\<255,0,0>Hello \<r>\<i>\<0,0,255>world!
and it would become
Hello world!
(The coloring isnāt perfect, but you get the point)
This would save memory in the long run as well since this is shorter than HTML:
<b><font color= "rgb(255, 0, 0)">Hello </font><\b> <i><font color= "rgb(0, 0, 255)">world</font></i>
On the other hand, it wouldnāt be too hard to create a system like this using HTML formatting.
Either way, this is a really cool feature
Iād prefer the current format over that, in my opinion the current one is more easily readable.
Iād tend to disagree, but maybe itās because Iāve spent an exorbitant amount of time on Minecraft.