Consistent formatting in well path completions property editor

This commit is contained in:
Bjørnar Grip Fjær
2017-05-12 09:28:21 +02:00
parent dc4e7e0773
commit 1d14971bee

View File

@@ -101,7 +101,7 @@ QString RimWellPathCompletion::displayCoordinates() const
{
const cvf::Vec3d& coords = m_coordinates()[i];
const double& measuredDepth = m_measuredDepths()[i];
displayValues.push_back(QString("%1\t%2\t%3\t%4").arg(coords.x()).arg(coords.y()).arg(coords.z()).arg(measuredDepth));
displayValues.push_back(QString("%1\t%2\t%3\t%4").arg(coords.x(), 0, 'f', 2).arg(coords.y(), 0, 'f', 2).arg(coords.z(), 0, 'f', 2).arg(measuredDepth, 0, 'f', 2));
}
return displayValues.join("\n");