Setting a label to the size of the text inside it
BlitzMax Forums/MaxGUI Module/Setting a label to the size of the text inside it
| ||
Is there a simple way to set the size of a label to the text it contains? I can't find anything in the manual, so at the moment I just set my font and text and just make the label far too big, so that the text doesn't spill outside the edges. I suppose I could write a little function to return the size in points and get the coords from that, but is there an automatic way? |
| ||
I've been searching for a solution for this problem for a long time. There doesn't seem to be any solution yet but using DrawText in a Canvas. |