[qet] [3259] m_color_pb button set styleSheet to min-height to 1.5em; and border-radius:to 4px;

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3259
Author:   scorpio810
Date:     2014-08-08 18:26:03 +0200 (Fri, 08 Aug 2014)
Log Message:
-----------
m_color_pb button set styleSheet to min-height to 1.5em; and border-radius:to 4px;

Modified Paths:
--------------
    trunk/sources/ui/conductorpropertieswidget.cpp

Modified: trunk/sources/ui/conductorpropertieswidget.cpp
===================================================================
--- trunk/sources/ui/conductorpropertieswidget.cpp	2014-08-08 14:23:47 UTC (rev 3258)
+++ trunk/sources/ui/conductorpropertieswidget.cpp	2014-08-08 16:26:03 UTC (rev 3259)
@@ -222,7 +222,7 @@
 void ConductorPropertiesWidget::setColorButton(const QColor &color) {
 	QPalette palette;
 	palette.setColor(QPalette::Button, color);
-	ui -> m_color_pb -> setStyleSheet(QString("background-color: %1").arg(color.name()));
+	ui -> m_color_pb -> setStyleSheet(QString("background-color: %1; min-height: 1.5em;  border-radius: 4px;").arg(color.name()));
 }
 
 /**


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/