pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yura <YuraBa...@yahoo.com>
Subject ScrollPane: .getViewportBounds().height; - Wrong value at startup
Date Sun, 25 Dec 2011 15:05:43 GMT
Hello,

I tried to get at the start-up of the application (before putting into the
window's content) the height of a scrollable viewport-part but when there is
horizontal scrollbar or/and ColumnHeader it ignores the height of these two
elements (I checked in that method it returns zero values for both) and
gives back the height of the viewport only. Once the application appeared
and you change application window size the re-invocation of that method
returns the right value.

Can you advice what method I might miss in order that it gives the correct
height-values for those two ScrollPane elements at the start-up. Maybe some
sort of invalidate(), repaint(), etc.

Thank you!
Yura

--
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/ScrollPane-getViewportBounds-height-Wrong-value-at-startup-tp3611674p3611674.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message