use StaticLayout to check text fit