Hi,
i wanna know the width of a HtmlOutputText dinamically, before it be rendered, like this:
HtmlPanel pnBack = new HtmlPanel(); HtmlOutputText ot = new HtmlOutputText(); ot.setValue("Some Text Here"); pnBack.getChildren().add(ot); int width = ot.getWidth();
getWidth supposes to return the value of the 'width' attribute. However, outputText has no such attribute at all. So, the answer is NO.