commit c01d6e63a9a3c7f50e954a8336162906104d266d
Author: Juergen Spitzmueller <[email protected]>
Date: Mon Oct 26 12:50:14 2026 +0100
Fix border drawing with custom alignment (rest of #12839)
---
src/insets/InsetTabular.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index b6cd9c341e..329eb2b803 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -1808,6 +1808,13 @@ bool Tabular::columnLeftLine(col_type c) const
}
}
}
+ if (!column_info[c].align_special.empty())
+ // With custom settings, we require the global setting if
+ // 1. We do have no left rows set in table but in the global
settings
+ // 2. all rows do have left lines (independent whether global
settings do)
+ return (nrows_left == 0 &&
prefixIs(column_info[c].align_special, '|'))
+ || nrows_left == total;
+
return multirow || 2 * nrows_left >= total;
}
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs