Mon, 07 Nov 2011 19:53:17 +0100
Fixed issues (on non-Mac platforms) caused by the latest Mac related changes.
(transplanted from 6fdd3432654ff13c74b153d30773b7219b3aad73)
E5Gui/E5SideBar.py | file | annotate | diff | comparison | revisions | |
Plugins/ViewManagerPlugins/Tabview/Tabview.py | file | annotate | diff | comparison | revisions |
--- a/E5Gui/E5SideBar.py Sat Nov 05 11:19:51 2011 +0100 +++ b/E5Gui/E5SideBar.py Mon Nov 07 19:53:17 2011 +0100 @@ -38,6 +38,7 @@ self.__tabBar = QTabBar() self.__tabBar.setDrawBase(True) self.__tabBar.setShape(QTabBar.RoundedNorth) + self.__tabBar.setUsesScrollButtons(False) self.__stackedWidget = QStackedWidget(self) self.__stackedWidget.setContentsMargins(0, 0, 0, 0) self.__autoHideButton = QToolButton()
--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py Sat Nov 05 11:19:51 2011 +0100 +++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py Mon Nov 07 19:53:17 2011 +0100 @@ -25,6 +25,7 @@ from E5Gui.E5Led import E5Led import Preferences +from Globals import isMacPlatform from eric5config import getConfig @@ -155,8 +156,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)