title: Codename one TextComponent
body: <p>trying to use the TextComponent but I failed to style it as shown in the image below; </p>
  
  <p><code>TextComponent username =  new TextComponent().labelAndHint("UserNmae").constraint(TextField.ANY);
          FontImage.setMaterialIcon(username.getField().getHintLabel(), FontImage.MATERIAL_PERSON);</code></p>
  
  <p><a href="https://i.stack.imgur.com/rMvAU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rMvAU.png" alt="screenshot"></a></p>