< prev index next >
modules/graphics/src/main/java/javafx/scene/text/TextFlow.java
Print this page
*** 277,287 ****
return computePrefHeight(width);
}
@Override public void requestLayout() {
/* The geometry of text nodes can be changed during layout children.
! * For that reason it has to call impl_geomChanged() causing
* requestLayout() to happen during layoutChildren().
* The inLayout flag prevents this call to cause any extra work.
*/
if (inLayout) return;
--- 277,287 ----
return computePrefHeight(width);
}
@Override public void requestLayout() {
/* The geometry of text nodes can be changed during layout children.
! * For that reason it has to call NodeHelper.geomChanged(this) causing
* requestLayout() to happen during layoutChildren().
* The inLayout flag prevents this call to cause any extra work.
*/
if (inLayout) return;
< prev index next >