I used to develop my application in Swing. But recently I have begun to use JavaFx.
In Swing JTabPane we have this:
]
In JavaFx TabPane we have this:
We can see the selected Tab bigger than the other But in JavaFx, we don't have this effect.
Question : How can I obtain the same Swing Tab style in JavaFx?
Problem solve.
We can use CSS to make this style (Background-color, padding, :selected...)
Sorry I'm a beginner in JavaFx.
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.