JBIDE-14735 Improve text formatting when dropping widgets from Palette view