Is there a function for measuring text before it is set to a label or GUI text node? It would be useful for me, as I am currently having trouble getting exact measurements for variable button sizes, menu sizes, and such. I wish to calculate for the amount of text given, and fit the size of my node to that after calculating for linebreaks and etc.
Currently I’ve accomplished this by trial and error. I know there is gui.get_text_metrics, but this sounds like a workaround for what I’m trying to accomplish.