- Mastering JavaFX 10
- Sergey Grinev
- 43字
- 2021-06-25 21:21:54
AnchorPane layout manager
This manager allows you to anchor any child Node to its sides to keep them in place during resizing:

Refer to the following code:
Rectangle rect = new Rectangle(50, 50, Color.BLUE);
Pane root = new AnchorPane(rect);
AnchorPane.setRightAnchor(rect, 20.);
AnchorPane.setBottomAnchor(rect, 20.);
推薦閱讀
- Application Development with Qt Creator(Second Edition)
- 自動(dòng)駕駛網(wǎng)絡(luò):自智時(shí)代的網(wǎng)絡(luò)架構(gòu)
- Django 2 by Example
- 農(nóng)產(chǎn)品物聯(lián)網(wǎng)研究與應(yīng)用
- Windows Server 2003 Active Directory Design and Implementation: Creating, Migrating, and Merging Networks
- HTML5 Game development with ImpactJS
- 世界互聯(lián)網(wǎng)發(fā)展報(bào)告·2019
- 新手易學(xué):新手學(xué)淘寶開店
- 網(wǎng)絡(luò)設(shè)計(jì)與應(yīng)用(第2版)
- Learning Windows 8 Game Development
- 云工廠:開啟中國制造云時(shí)代
- LwIP應(yīng)用開發(fā)實(shí)戰(zhàn)指南:基于STM32
- 精通SEO:100%網(wǎng)站流量提升密碼
- 物聯(lián)網(wǎng)M2M開發(fā)技術(shù):基于無線CPU-Q26XX
- RestKit for iOS