Added missing hardware object
Removed extra self
Setting fixed width to get rid of the horizontal scroll bar, qt does not
seem to include the width of the scroll bar in automatic calculation of width.