< prev index next >
modules/javafx.graphics/src/main/java/javafx/scene/layout/Region.java
Print this page
@@ -644,12 +644,12 @@
}
/**
* The top, right, bottom, and left padding around the region's content.
* This space will be included in the calculation of the region's
- * minimum and preferred sizes. By default padding is Insets.EMPTY. Setting the
- * value to null should be avoided.
+ * minimum and preferred sizes. By default, padding is {@code Insets.EMPTY}. Setting the
+ * value to {@code null} should be avoided.
*/
private ObjectProperty<Insets> padding = new StyleableObjectProperty<Insets>(Insets.EMPTY) {
// Keep track of the last valid value for the sake of
// rollback in case padding is set to null. Note that
// Richard really does not like this pattern because
< prev index next >