How do you scale HUD?

So I have a HUD widget which has some text but the size of the text is always the same no matter what the screen size is which means if the screen size is small, the HUD could get cut off. How do I make the HUD bigger or smaller based on the screen size?