< prev index next >

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

Print this page

        

*** 68,78 **** /** * GridPane lays out its children within a flexible grid of rows and columns. ! * If a border and/or padding is set, then its content will be layed out within * those insets. * <p> * A child may be placed anywhere within the grid and may span multiple * rows/columns. Children may freely overlap within rows/columns and their * stacking order will be defined by the order of the gridpane's children list --- 68,78 ---- /** * GridPane lays out its children within a flexible grid of rows and columns. ! * If a border and/or padding is set, then its content will be laid out within * those insets. * <p> * A child may be placed anywhere within the grid and may span multiple * rows/columns. Children may freely overlap within rows/columns and their * stacking order will be defined by the order of the gridpane's children list
*** 221,231 **** * <b>gridpane.setMaxSize(Region.USE_COMPUTED_SIZE, Region.USE_COMPUTED_SIZE);</b> * </code></pre> * Applications may restore the computed values by setting these properties back * to USE_COMPUTED_SIZE. * <p> ! * GridPane does not clip its content by default, so it is possible that childrens' * bounds may extend outside its own bounds if a child's min size prevents it from * being fit within it space.</p> * * <h3>Optional Layout Constraints</h3> * --- 221,231 ---- * <b>gridpane.setMaxSize(Region.USE_COMPUTED_SIZE, Region.USE_COMPUTED_SIZE);</b> * </code></pre> * Applications may restore the computed values by setting these properties back * to USE_COMPUTED_SIZE. * <p> ! * GridPane 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 it space.</p> * * <h3>Optional Layout Constraints</h3> *
< prev index next >