]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathData.h
Better mechanism for setting cell cell height
[features.git] / src / mathed / MathData.h
index 70c001975e9614a32f54c84ab6da621398cda9a7..efa581c4142de17569828dbfed772033c2454f5d 100644 (file)
@@ -125,7 +125,10 @@ public:
        bool addToMathRow(MathRow &, MetricsInfo & mi) const;
 
        /// rebuild cached metrics information
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       /** When \c tight is true, the height of the cell will be at least
+        *  that of 'x'. Otherwise, it will be the max height of the font.
+        */
+       void metrics(MetricsInfo & mi, Dimension & dim, bool tight = true) const;
        ///
        Dimension const & dimension(BufferView const &) const;