This is slightly better code since it's based on the real available width instead of the contentItem width.
mentioned in commit 18d8dff9