]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathSplit.cpp
Fix the display of column spacing in AMS environments
[features.git] / src / mathed / InsetMathSplit.cpp
index 5929e273030d69c4689a9a195d0afd0788f585d3..515dcb04591f6490a95d962c029ea9ffbf9cdbd5 100644 (file)
@@ -87,6 +87,17 @@ char InsetMathSplit::displayColAlign(idx_type idx) const
 }
 
 
+int InsetMathSplit::displayColSpace(col_type col) const
+{
+       if (name_ == "split" || name_ == "aligned" || name_ == "align")
+               return colSpace(hullAlign, col);
+       if (name_ == "alignedat")
+               return colSpace(hullAlignAt, col);
+       return 0;
+}
+
+
+
 void InsetMathSplit::draw(PainterInfo & pi, int x, int y) const
 {
        InsetMathGrid::draw(pi, x, y);