mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
InsetBox.cpp: only shaded boxes can have a non-plain layout when there is no inner box
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34809 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
142caff833
commit
07e8f2e1bc
@ -182,7 +182,7 @@ void InsetBox::metrics(MetricsInfo & m, Dimension & dim) const
|
||||
|
||||
bool InsetBox::forcePlainLayout(idx_type) const
|
||||
{
|
||||
return !params_.inner_box && params_.type != "Framed";
|
||||
return (!params_.inner_box || params_.use_makebox) && params_.type != "Shaded";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user