简体   繁体   中英

Styling BorderPane top with CSS

Is it possible to style BorderPane top with CSS? For example I want to color it with different colors for left, right, center, bottom and top. Is that possible?

No. All of them are just properties.

The BorderPane control gets nodes pointed by those properties and places these nodes on its surface directly, ie without any intermediate nodes.

For example, place one Pane into center and one Button into bottom of the BorderPane . Then you can see there is no any nodes in the hierarhy between the BorderPane and the Pane and between the BorderPane and the Button :

在此处输入图片说明

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