I've made a text-program,

How do I make my text box only be able too go a certain distance too the right?
How do I centrate or fill in too the right?