Added title text in dockwidget & limited it places only at right and left