gave text in panel width of 100%