added tabs mechanism for text widget