Fixed the display in the textview mode to make it more readable and add margins