Is it possible to right-align tabs at the top of TapPane? I mean the entire set of tabs, not the label text inside the tab.
I already tried something like this:
#main-tabs .tab-pane:top *.tab-header-area {
-fx-alignment: CENTER_RIGHT;
}
and also fooling him with CSS:
#main-tabs .tab-pane:top *.tab-header-area {
-fx-padding: 0.416667em 100% 0.0em 0%;
}
Nothing works. I can manually change the left padding using fixed sizes, but this does not help at the resize stage. I canโt figure out how to properly maintain tabs.
source
share