]> git.lyx.org Git - features.git/commit
Make graĥics and external insets tighter
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 15 Jan 2020 14:54:47 +0000 (15:54 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:51 +0000 (15:48 +0200)
commit31a3dbd570b37ea3c268fe26e5c01ff4474f67e8
treec9faaa14aa66166100e4bfa88459d16979e8b93b
parentccc61f3836d371790c217a69899d37f59be7b5d4
Make graĥics and external insets tighter

Now RenderGraphics adds offsets that depends on its parent inset.

These offsets are set to 0 for InsetGraphics and InsetExternal. A nice
consequence is that icons shown by Info inset stick out less on screen.

As an unrelated change, the "private:" specifier of these two insets
is moved to a more reasonable place.
src/insets/InsetExternal.h
src/insets/InsetGraphics.h
src/insets/RenderGraphic.cpp
src/insets/RenderGraphic.h