The size of the text is constantly changing,Why the size of the text is constantly changing itself?

I have a panel with the text object, the size and the position are alright, anchors are set. But when I built an apk file the size of the text became either much larger or smaller depending on the android device. What can I do to fix the broblem?,I have a panel with the text object, the size and the position are alright, anchors are set. But when I built an apk file the size of the text became either much larger or smaller depending on the android device. What can I do to fix the broblem?

I find myself the answer. It needed to change the setting of the canvas (UI scale mode) from “constant pixel size” to “

scale with screen size”