I would like the TabPanel area that does not have a tab to have a border as the image below.
Currently my TabPanel is like this, no border to the right of "Enter"
Iwouldlikeittolooklikethis,butIdonotknowwheretoputinstructionfromtheborder,withoutputtingborderalsoonwhatisselected.
This is my style code:
.tab-pane .tab-header-area .tab-header-background {
-fx-opacity: 0;
}
.tab-pane:top *.tab-header-area {
-fx-background-insets: 0, 0 0 1 0;
-fx-padding: 1px 1px 0px 0px;
}
.tab-pane
{
-fx-tab-min-width:90px;
}
.tab{
-fx-background-insets: 0 1 0 1,0,0;
-fx-min-width: 120px;
-fx-min-height: 23px;
-fx-border-width: 1 1 0 0;
-fx-border-style: solid;
-fx-border-color: #dbe2e8;
-fx-padding: 7 20 7 20;
}
.tab:selected .focus-indicator {
-fx-focus-color: transparent;
-fx-faint-focus-color: transparent;
}
.tab-pane .tab:selected
{
-fx-background-color: #ffffff;
}
.tab-label {
-fx-alignment: center;
-fx-font-size: 12px;
-fx-font-weight: bold;
-fx-text-fill: #7d97ad;
-fx-font-family: Arial;
}
.tab:selected .tab-label {
-fx-alignment: center;
-fx-text-fill: #96b946;
}
I'm learning now, so I'm pretty much a layman in JavaFx.