QTfrontend/ui/widget/colorwidget.cpp
changeset 13228 d23742ccf92b
parent 7750 31e4f6c1834b
child 15021 d597a851f5d8
--- a/QTfrontend/ui/widget/colorwidget.cpp	Fri Mar 16 16:35:08 2018 +0100
+++ b/QTfrontend/ui/widget/colorwidget.cpp	Fri Mar 16 19:05:11 2018 +0100
@@ -30,7 +30,7 @@
 
     QStandardItem * item = m_colorsModel->item(m_color);
 
-    setStyleSheet(QString("border: 2px solid orange; border-radius: 8px; background: %1").arg(item->data().value<QColor>().name()));
+    setStyleSheet(QString("* { border: 2px solid #ffcc00; border-radius: 8px; background: %1 } :disabled { border-color: #a0a0a0; }").arg(item->data().value<QColor>().name()));
     /*
     QPalette p = palette();
     p.setColor(QPalette::Window, item->data().value<QColor>());