font.decSize();
font.setColor(LColor::collapsable);
setLabelFont(font);
- setAutoCollapse(false);
+}
+
+
+InsetFootlike::InsetFootlike(InsetFootlike const & in, bool same_id)
+ : InsetCollapsable(in, same_id)
+{
+ LyXFont font(LyXFont::ALL_SANE);
+ font.decSize();
+ font.decSize();
+ font.setColor(LColor::collapsable);
+ setLabelFont(font);
}
bool InsetFootlike::insetAllowed(Inset::Code code) const
{
- if ((code == Inset::FOOT_CODE) || (code == Inset::MARGIN_CODE))
+ if ((code == Inset::FOOT_CODE) || (code == Inset::MARGIN_CODE)
+ || (code ==Inset::FLOAT_CODE))
return false;
return InsetCollapsable::insetAllowed(code);
}