I am using QTableWidget which is having 2 columns and 2 rows.
I have to highlight the single table cell like 1st column and 1st row and that also only upto the text area.
like if the text is "TEST", then it should highlight only upto its length and if the text legnth is more then it should highlight upto that.

Any solution, please suggest.