JavaFx: tab rounded corners - very strange behaviour

Александр Свиридов ooo_saturn7 at mail.ru
Fri Jun 12 17:06:54 UTC 2015


 I want to make tabs with rounded corners. And I have the following css code:

. tab  {
-fx-border-radius:10 10 0 0;
-fx-background-radius:10 10 0 0;
}

.tab:selected .focus-indicator {
-fx-border-radius:10 10 0 0,10 10 00;
} However, javafx adds some extra corners to tabs. Unfortunately I can't send a picture, however this question I asked at stackoverflow -   http://stackoverflow.com/questions/30690918/javafx-tab-rounded-corners   and there I provided all the pictures. Is this a bug? if not, how to fix it?

-- 
Александр Свиридов


More information about the openjfx-dev mailing list