Add display: block; property to labelElement to make the text-overflow: ellipsis work correctly

Some screenshot available here: (I1695e61)

Change-Id: Ic8d5fc8f9061fb1c57811c44912e2b11dd984283
Merge "Add display: block; property to labelElement to make the text-overflow: ellipsis work correctly"