I have a scoreboard whose tabs are on the left side. They occupy only the width as well as the font size, while the rest of the header is empty. Also, the space in front of the first tab makes tabpane more ugly! I found a solution, but this is more of a place that adds another menu to the tabbed bar. I am currently using this:
pane.applyCss();
pane.layout();
pane.requestLayout();
tabPane.setTabMinWidth(tabPane.getHeight()/3-17);
tabPane.setTabMaxWidth(tabPane.getHeight()/3-17);
But he still leaves some space at the end (and not at the beginning). If you change it to 18, then another menu is added to the header area.
Thank!
source
share