private void prettifyTabbedPaneUI() {
if (!UISupport.isMac()) {
// For some reason the tabs get very wide in some L&Fs. Workaround is to replace the UI.
if (inputTabs.getUI().getClass().getSimpleName().equals("WindowsTabbedPaneUI")) {
inputTabs.setUI(new VerticalWindowsTabbedPaneUI());
} else {
inputTabs.setUI(new VerticalMetalTabbedPaneUI());
}
}
}