Commits

Marko Toplak committed 7bea902 Draft

Removed empty space on top and below.

  • Participants
  • Parent commits 84989d3

Comments (0)

Files changed (1)

File Orange/OrangeCanvas/application/canvasmain.py

         self.__dummy_bottom_toolbar = FakeToolBar(
                             objectName="__dummy_bottom_toolbar")
 
-        self.__dummy_top_toolbar.setFixedHeight(20)
-        self.__dummy_bottom_toolbar.setFixedHeight(20)
+        self.__dummy_top_toolbar.setFixedHeight(0) #no upper and bottom border
+        self.__dummy_bottom_toolbar.setFixedHeight(0)
 
         self.addToolBar(Qt.TopToolBarArea, self.__dummy_top_toolbar)
         self.addToolBar(Qt.BottomToolBarArea, self.__dummy_bottom_toolbar)
 
-        self.setCorner(Qt.BottomLeftCorner, Qt.LeftDockWidgetArea)
+        self.setCorner(Qt.BottomLeftCornr, Qt.LeftDockWidgetArea)
         self.setCorner(Qt.BottomRightCorner, Qt.RightDockWidgetArea)
 
         self.setDockOptions(QMainWindow.AnimatedDocks)