I need to display QTablewidget horizonatal header text in multi-line. I tried setting word wrap and resizerowstocontents it does not work. When I display same header text in one of row it is displaying in multi-line. But row gets scrolled with scrollbar to make it freeeze two views are to be made. Any simple solution available to this problem.