< prev index next >

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

Print this page

        

@@ -50,11 +50,11 @@
 
 
 
 /**
  * HBox lays out its children in a single horizontal row.
- * If the hbox has a border and/or padding set, then the contents will be layed
+ * If the hbox has a border and/or padding set, then the contents will be laid
  * out within those insets.
  * <p>
  * HBox example:
  * <pre>{@code
  *     HBox hbox = new HBox(8); // spacing = 8

@@ -107,11 +107,11 @@
  *     <b>hbox.setPrefWidth(400);</b>
  * </code></pre>
  * Applications may restore the computed values by setting these properties back
  * to USE_COMPUTED_SIZE.
  * <p>
- * HBox does not clip its content by default, so it is possible that childrens'
+ * HBox 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 hbox.</p>
  *
  * <h3>Optional Layout Constraints</h3>
  *
< prev index next >