[Sketcher] Improve Solver Message Visibility...
...when using dark(er) style sheets. See discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=50094
This commit is contained in:
@@ -5898,7 +5898,7 @@ void ViewProviderSketch::UpdateSolverInformation()
|
||||
edit->FullyConstrained = true;
|
||||
|
||||
if (!hasRedundancies) {
|
||||
signalSetUp(QString::fromLatin1("<font color='green'>%1</font>").arg(tr("Fully constrained sketch")));
|
||||
signalSetUp(QString::fromLatin1("<font color='green'><span style=\"color:#008000; background-color: #ececec;\">%1</font></span>").arg(tr("Fully constrained sketch")));
|
||||
}
|
||||
}
|
||||
else if (!hasRedundancies) {
|
||||
@@ -5908,7 +5908,7 @@ void ViewProviderSketch::UpdateSolverInformation()
|
||||
signalSetUp(tr("Under-constrained sketch with <a href=\"#dofs\"><span style=\" text-decoration: underline; color:#0000ff; background-color: #F8F8FF;\">%1 degrees</span></a> of freedom").arg(dofs));
|
||||
}
|
||||
|
||||
signalSolved(QString::fromLatin1("<font color='green'>%1</font>").arg(tr("Solved in %1 sec").arg(getSketchObject()->getLastSolveTime())));
|
||||
signalSolved(QString::fromLatin1("<font color='green'><span style=\"color:#008000; background-color: #ececec;\">%1</font></span>").arg(tr("Solved in %1 sec").arg(getSketchObject()->getLastSolveTime())));
|
||||
}
|
||||
else {
|
||||
signalSolved(QString::fromLatin1("<font color='red'>%1</font>").arg(tr("Unsolved (%1 sec)").arg(getSketchObject()->getLastSolveTime())));
|
||||
|
||||
Reference in New Issue
Block a user