TaskDelegate: Use additional formats in text layout for sizeHints

Task-number: QTCREATORBUG-11621

Change-Id: I2be90e1814afcaab8c3c9a84e2682e5192dfe472
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>