Browse Source

Yay I love OS X!!!!!!!!!!!!!!!!!!!! </sarcasm>

If using OS X UI, default to default padding in mig layout.

Change-Id: Ib2010399c032e87e8f9bf1f50438ffd7b0cdcdcf
Reviewed-on: http://gerrit.dmdirc.com/1232
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
tags/0.6.4
Greboid 14 years ago
parent
commit
0d9b815a2b
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/com/dmdirc/addons/ui_swing/SwingController.java

+ 4
- 0
src/com/dmdirc/addons/ui_swing/SwingController.java View File

@@ -488,6 +488,10 @@ public final class SwingController extends Plugin implements Serializable,
488 488
         if ("Metal".equals(UIManager.getLookAndFeel().getName())) {
489 489
             PlatformDefaults.setPlatform(PlatformDefaults.WINDOWS_XP);
490 490
         }
491
+
492
+        if (Apple.isAppleUI()) {
493
+            PlatformDefaults.setPlatform(PlatformDefaults.WINDOWS_XP);
494
+        }
491 495
     }
492 496
 
493 497
     /**

Loading…
Cancel
Save