From: Jean-Marc Lasgouttes Date: Wed, 15 Jan 2020 10:08:38 +0000 (+0100) Subject: Make script inset much tighter in texted. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=01651351e43390412dd45ad8e1d6dd52476d68b6;p=features.git Make script inset much tighter in texted. We use the fact that offsets can be set separately for each inset. --- diff --git a/src/insets/InsetScript.h b/src/insets/InsetScript.h index 1aee8e8dd0..cd61117a3f 100644 --- a/src/insets/InsetScript.h +++ b/src/insets/InsetScript.h @@ -68,6 +68,16 @@ public: docstring layoutName() const; /// DisplayType display() const; + + /// + int topOffset(BufferView const *) const { return 0; } + /// + int bottomOffset(BufferView const *) const { return 0; } + /// + int leftOffset(BufferView const *) const { return 0; } + /// + int rightOffset(BufferView const *) const { return 0; } + /// void metrics(MetricsInfo &, Dimension &) const; ///