Set text scale func