I know you can do contents.font.size = x which will change the font size for the whole window. But what if I want to, change the font size for a set of text, example:
def draw_title draw_text(0, 0, 150, 25, "Sample Content")end
Should draw the text: Sample Content in a window. now that text is what ever your default size is, is there a way to say Sudo Code change the text size of: draw_title, so maybe:
def draw_title draw_text(0, 0, 150, 25, "Sample Content")end
Should draw the text: Sample Content in a window. now that text is what ever your default size is, is there a way to say Sudo Code change the text size of: draw_title, so maybe:
Code:
def change_text_size(size, text) #what would I do here?end