Plugins/ViewManagerPlugins/Tabview/Tabview.py

changeset 1428
6fdd3432654f
parent 1422
47f1dffa398e
child 1509
c0b5e693b0eb
--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Sun Nov 06 19:48:46 2011 +0100
+++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Mon Nov 07 19:53:17 2011 +0100
@@ -26,6 +26,7 @@
 from E5Gui.E5Led import E5Led
 
 import Preferences
+from Globals import isMacPlatform
 
 from eric5config import getConfig
 
@@ -158,8 +159,9 @@
         self.setTabBar(self.__tabBar)
         
         self.setUsesScrollButtons(True)
-        self.setDocumentMode(True)
         self.setElideMode(Qt.ElideNone)
+        if isMacPlatform():
+            self.setDocumentMode(True)
         
         self.__tabBar.tabMoveRequested.connect(self.moveTab)
         self.__tabBar.tabRelocateRequested.connect(self.__relocateTab)

eric ide

mercurial