I found a solution! For any future lost traveler looking for the answer:
I overwrote the slider derived classes getTextFromValue() function like so:
String Knob::getTextFromValue(double value) {
std::stringstream stream;
stream << std::fixed << std::setprecision(getNumDecimalPlacesToDisplay()) << value << getTextValueSuffix().toStdString();
std::string s = stream.str();
return s;
}
But you have to set setNumDecimalPlacesToDisplay() after you connect the SliderAttchement to your slider. The slider attachment will reset that value for some reason.
