title: How is possible to change size(width and height) of the component in codenameone
body: <p>I want to add some component to the form such as: button, label and more.
  And i want to set width and height to them but i don't find such a property.
  Is there any way to do that?</p>
  
  <p>edit:</p>
  
  <p>here is my code in Main.java file</p>
  
  <pre><code>currentForm = new Form();
  
  currentForm.setLayout(new LayeredLayout());
  
  currentForm.applyRTL(true);
  Container mapContainer = new Container(new LayeredLayout());
  Container controlsContainer = new Container(new BorderLayout());
  controlsContainer.setRTL(true);
  currentForm.addComponent(mapContainer);
  currentForm.addComponent(controlsContainer);
  
  Container panelTop = new Container(new BoxLayout(BoxLayout.X_AXIS));
  Container panelDown = new Container(new FlowLayout(Component.RIGHT));
  panelTop.setSize(new Dimension(40, 20));
  
  controlsContainer.addComponent(BorderLayout.NORTH, panelTop);
  controlsContainer.addComponent(BorderLayout.SOUTH, panelDown);
  
  Button btnRoute = new Button(res.getImage("icon_routing.png"));
  btnRoute.setSize(new Dimension(5, 5));
  TextField txtSearch = new TextField();
  txtSearch.setRTL(true);
  txtSearch.setUIID("searchbox");
  txtSearch.setEnabled(true);
  // search textfield mode
  txtSearch.putClientProperty("searchField", Boolean.TRUE);
  txtSearch.setSize(new Dimension(8,10));
  Button btnGPSFound = new Button(res.getImage("near_by_menu.png"));
  btnGPSFound.setSize(new Dimension(5,5));
  
  panelTop.addComponent(btnRoute);
  panelTop.addComponent(txtSearch);
  panelTop.addComponent(btnGPSFound);
  
  currentForm.show();
  btnRoute.setSize(new Dimension(30, 30));
  btnRoute.refreshTheme();
  panelTop.refreshTheme();     `
  </code></pre>