< prev index next >

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

Print this page

        

*** 105,115 **** * <pre><code> <b>anchorPane.setPrefSize(300, 300);</b> * </code></pre> * Applications may restore the computed values by setting these properties back * to Region.USE_COMPUTED_SIZE. * <p> ! * AnchorPane does not clip its content by default, so it is possible that childrens' * bounds may extend outside its own bounds if the anchor pane is resized smaller * than its preferred size.</p> * * @since JavaFX 2.0 */ --- 105,115 ---- * <pre><code> <b>anchorPane.setPrefSize(300, 300);</b> * </code></pre> * Applications may restore the computed values by setting these properties back * to Region.USE_COMPUTED_SIZE. * <p> ! * AnchorPane does not clip its content by default, so it is possible that children's * bounds may extend outside its own bounds if the anchor pane is resized smaller * than its preferred size.</p> * * @since JavaFX 2.0 */
< prev index next >