mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Remove fontlabel initialisation bug work-around. We should fix the inset layout definition parsing instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21386 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c5f981f34c
commit
f038c80e33
@ -103,21 +103,16 @@ InsetCollapsable::InsetCollapsable(InsetCollapsable const & rhs)
|
||||
|
||||
void InsetCollapsable::setLayout(BufferParams const & bp)
|
||||
{
|
||||
// Fallback for lacking inset layout item
|
||||
// FIXME: put this in the InsetLayout parsing?
|
||||
// Fallback for lacking inset layout background
|
||||
layout_.bgcolor = Color_background;
|
||||
|
||||
// FIXME: it seems the default background is red!
|
||||
layout_ = getLayout(bp);
|
||||
|
||||
|
||||
// FIXME: it seems the provided font is partly realized... so we
|
||||
// re-initialize the label font in any case.
|
||||
/*
|
||||
if (layout_.labelfont != inherit_font)
|
||||
return;
|
||||
*/
|
||||
|
||||
// FIXME: it seems some insets don't properly initialise that...
|
||||
// FIXME: put this in the InsetLayout parsing?
|
||||
// Fallback for lacking inset layout labelfont.
|
||||
layout_.labelfont = sane_font;
|
||||
layout_.labelfont.decSize();
|
||||
layout_.labelfont.decSize();
|
||||
|
Loading…
Reference in New Issue
Block a user