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

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3259 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-08-08 16:26:03 +00:00
parent 4510480385
commit e5b8c89901

View File

@@ -222,7 +222,7 @@ void ConductorPropertiesWidget::on_m_color_pb_clicked() {
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()));
}
/**