Set center padding before getting list width.