change layout of cached text