Commits

Marko Toplak  committed 392fdb5 Draft

Removed dark grid in the toolbar.

  • Participants
  • Parent commits 7dc63cb

Comments (0)

Files changed (3)

File Orange/OrangeCanvas/application/canvasmain.py

         w = QWidget()
         w.setLayout(QVBoxLayout())
         w.layout().setContentsMargins(20, 0, 10, 0)
+        #w.layout().setContentsMargins(0, 0, 0, 0)
 
         self.scheme_widget = SchemeEditWidget()
         self.scheme_widget.setScheme(widgetsscheme.WidgetsScheme())

File Orange/OrangeCanvas/gui/toolgrid.py

 
     def __setupUi(self):
         layout = QGridLayout()
-        layout.setContentsMargins(0, 0, 0, 0)
-        layout.setSpacing(0)
+        layout.setContentsMargins(0, 0, 0, 8)
+        layout.setSpacing(2)
         layout.setSizeConstraint(QGridLayout.SetFixedSize)
         self.setLayout(layout)
         self.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.MinimumExpanding)
 
         button.setToolButtonStyle(self.__toolButtonStyle)
         button.setProperty("tool-grid-button", QVariant(True))
+        button.setAutoRaise(True)
+        button.setAutoFillBackground(True)
         return button
 
     def count(self):

File Orange/OrangeCanvas/styles/orange.qss

 
 
 WidgetToolBox ToolGrid {
-    background-color: #E9EFF2;
+    background-color: #F2F2F2;
 }
 
 
 WidgetToolBox ToolGrid QToolButton {
     border: none;
-    border-bottom: 2px solid #B5B8B8;
-    border-right: 2px solid #B5B8B8;
+    /* border-bottom: 2px solid #B5B8B8;
+    border-right: 2px solid #B5B8B8; */
     background-color: #F2F2F2;
 }
 
     padding: 0px;
     margin: 0px;
     icon-size: 23px;
-}
+}