Fix padding issue with TextIconApplet when there is only text or only an icon.