src/eric7/Tools/UIPreviewer.py

branch
eric7
changeset 9695
ad962e9b904d
parent 9653
e67609152c5e
child 10431
64157aeb0312
--- a/src/eric7/Tools/UIPreviewer.py	Thu Jan 12 11:52:43 2023 +0100
+++ b/src/eric7/Tools/UIPreviewer.py	Thu Jan 12 13:48:00 2023 +0100
@@ -37,7 +37,6 @@
 from eric7.EricWidgets import EricFileDialog, EricMessageBox
 from eric7.EricWidgets.EricApplication import ericApp
 from eric7.EricWidgets.EricMainWindow import EricMainWindow
-from eric7.UI import Config
 
 
 class UIPreviewer(EricMainWindow):
@@ -280,7 +279,6 @@
         Private method to create the toolbars.
         """
         filetb = self.addToolBar(self.tr("File"))
-        filetb.setIconSize(Config.ToolBarIconSize)
         filetb.addAction(self.openAct)
         filetb.addAction(self.imageAct)
         filetb.addSeparator()
@@ -290,11 +288,9 @@
         filetb.addAction(self.exitAct)
 
         edittb = self.addToolBar(self.tr("Edit"))
-        edittb.setIconSize(Config.ToolBarIconSize)
         edittb.addAction(self.copyAct)
 
         helptb = self.addToolBar(self.tr("Help"))
-        helptb.setIconSize(Config.ToolBarIconSize)
         helptb.addAction(self.whatsThisAct)
 
     def __whatsThis(self):

eric ide

mercurial