Package javafx.scene.layout

Examples of javafx.scene.layout.Region.resizeRelocate()


                        closeBtn.resize(closeBtnWidth, closeBtnHeight);
                        positionInArea(closeBtn, closeBtnStartX, paddingTop, closeBtnWidth, h,
                                /*baseline ignored*/0, HPos.CENTER, VPos.CENTER);
                    }
                   
                    focusIndicator.resizeRelocate(
                            label.getLayoutX() - padding,
                            Math.min(label.getLayoutY(), closeBtn.isVisible() ? closeBtn.getLayoutY() : Double.MAX_VALUE) - padding,
                            labelWidth + closeBtnWidth + padding * 2,
                            Math.max(labelHeight, closeBtnHeight) + padding*2);
                }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.