pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rostislav Krasny <rosti....@gmail.com>
Subject Layout component within ScrollPane
Date Sat, 13 Feb 2010 19:41:48 GMT
Hi,

I use Pivot 1.4. I'm trying to make a window with a scroll pane and a
text area within it. Following is code of my startup() method.

		TextArea textArea = new TextArea();
		textArea.setEditable(true);

		ScrollPane pane = new ScrollPane(ScrollBarPolicy.ALWAYS,
ScrollBarPolicy.ALWAYS);
		pane.add(textArea);

		window = new Window(pane);
		window.setTitle("Test application");
		window.setMaximized(true);
		window.open(display);

However the text area has zero size dimensions and cannot be used. How
can I layout the text area according to the scroll pane dimensions
automatically?

Thank you

Mime
View raw message