< prev index next >

modules/javafx.graphics/src/main/java/javafx/scene/layout/VBox.java

Print this page

        

@@ -48,11 +48,11 @@
 import javafx.css.Styleable;
 import javafx.util.Callback;
 
 /**
  * VBox lays out its children in a single vertical column.
- * If the vbox has a border and/or padding set, then the contents will be layed
+ * If the vbox has a border and/or padding set, then the contents will be laid
  * out within those insets.
  * <p>
  * VBox example:
  * <pre>{@code
  *     VBox vbox = new VBox(8); // spacing = 8

@@ -107,11 +107,11 @@
  *     <b>vbox.setPrefWidth(400);</b>
  * </code></pre>
  * Applications may restore the computed values by setting these properties back
  * to USE_COMPUTED_SIZE.
  * <p>
- * VBox does not clip its content by default, so it is possible that childrens'
+ * VBox does not clip its content by default, so it is possible that children's
  * bounds may extend outside its own bounds if a child's min size prevents it from
  * being fit within the vbox.</p>
  *
  * <h3>Optional Layout Constraints</h3>
  *
< prev index next >