title: GWT custom widgets height
body: <p>I need a custom widget height. I tried using this </p>
  
  <pre><code>Integer.toString(yourWidget.getElement().getOffsetHeight())
  </code></pre>
  
  <p>but,</p>
  
  <ul>
  <li>If I use it when I create it or add it to the container panel, it returns 0</li>
  <li>If I use it in the contrainer panel's <code>onLoad</code> method, it returns the widget height before the style is applied</li>
  </ul>
  
  <p>So, when should I use it to get the widget height after the style is applied?</p>
  
  <p>Thanks a lot!</p>