Thanks for you reply, I tried "Content Size Fitter", But it's still not I wan’t. "Content Size Fitter" will set the width of rect transform same as the width of texts, so the center of text will always stay that center of rect transform. the bottem one(Unity text) is the effect I want.