Jfoenix: Remove the yellow color from tabs in TabPane

Created on 9 Mar 2018  路  2Comments  路  Source: sshahine/JFoenix

How i can remove the default yellow color(line and focused color ) from tabs .I tried this code but it does not working for me :

.jfx-tab-pane .tab-selected-line {
-fx-stroke: #75bc1b;
-fx-stroke-width: 3pt;
}

Question

Most helpful comment

Hello, You can try this:
.jfx-tab-pane .tab-selected-line { -fx-background-color: #75bc1b; -fx-pref-height: 4px; }

All 2 comments

Hello, You can try this:
.jfx-tab-pane .tab-selected-line { -fx-background-color: #75bc1b; -fx-pref-height: 4px; }

Thanks, @GreenLv .

@XlintXms, here's a pro-tip: check out jfx-tab-pane.css to see the default styles for JFXTabPane.

You can override anything you see there by including it in your own stylesheet. :metal:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

goxr3plus picture goxr3plus  路  3Comments

SkaaRJik picture SkaaRJik  路  4Comments

imgx64 picture imgx64  路  5Comments

deme78 picture deme78  路  3Comments

swftvsn picture swftvsn  路  3Comments