简体   繁体   中英

How do I make a fixed size grid-pane in JavaFX Scene Builder?

I'm trying to make a centered grid pane in the JavaFX scene builder which stays a fixed size. I'm having a hard time doing this myself. Anything I can do?

在此处输入图像描述

I'm trying to accomplish something like this:

在此处输入图像描述

You could use stackpane as parent of your gridpane

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM