Widen value column to 96 chars, remove Mat4x4 truncation

kColValue 32 -> 96 to prevent float truncation with ellipsis.
Mat4x4 rows bypass fit() entirely so long matrix rows display fully.
Updated test expectations to use kColValue instead of hardcoded 32.
This commit is contained in:
batallaion caputa
2026-02-11 10:44:24 -07:00
parent 968476b65a
commit 33a093ae7d
3 changed files with 6 additions and 6 deletions

View File

@@ -337,9 +337,9 @@ QString fmtNodeLine(const Node& node, const Provider& prov,
QString cmtSuffix = comment.isEmpty() ? QString()
: fit(comment, COL_COMMENT);
// Mat4x4: subLine 0..3 = rows
// Mat4x4: subLine 0..3 = rows — no truncation so large floats always display fully
if (node.kind == NodeKind::Mat4x4) {
QString val = fit(readValue(node, prov, addr, subLine), COL_VALUE);
QString val = readValue(node, prov, addr, subLine);
if (subLine == 0) return ind + type + SEP + name + SEP + val + cmtSuffix;
return ind + QString(prefixW, ' ') + val + cmtSuffix;
}