[BZ 1070981] Use both title and data for autofit

(cherry picked from commit 26362a38ca2d9abde08cd11b4adad4d22dedbd47)
Signed-off-by: Thomas Segismont <tsegismo@redhat.com>