Adds support for TextFormat.leading in TextField rendering