Changeset 17292 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-11-03T00:09:37+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java
r17265 r17292 73 73 import org.openstreetmap.josm.tools.Logging; 74 74 import org.openstreetmap.josm.tools.Pair; 75 import org.openstreetmap.josm.tools.PlatformManager; 75 76 import org.openstreetmap.josm.tools.Utils; 76 77 import org.openstreetmap.josm.tools.bugreport.BugReportExceptionHandler; … … 514 515 515 516 private void insertGUITabsForSetting(Icon icon, TabPreferenceSetting tps, final Component component, int position) { 516 String title = "<html><div style='width:150px'>" + tps.getTitle(); 517 insertTab(title, icon, component, tps.getTooltip(), position); 517 if (PlatformManager.isPlatformOsx()) { 518 // macOS / AquaLookAndFeel does not support horizontal tabs, see https://josm.openstreetmap.de/ticket/7548#comment:80 519 insertTab(null, icon, component, tps.getTooltip(), position); 520 } else { 521 String title = "<html><div style='width:150px'>" + tps.getTitle(); 522 insertTab(title, icon, component, tps.getTooltip(), position); 523 } 518 524 } 519 525
Note:
See TracChangeset
for help on using the changeset viewer.