Commit ca11ad91 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг, что у Inline-автофигуры отступы были нулевые (баг 19407).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48179 954022d7-b5bf-4e40-9824-e11837661b57
parent 8bac9d7e
...@@ -3066,6 +3066,18 @@ ParaDrawing.prototype = ...@@ -3066,6 +3066,18 @@ ParaDrawing.prototype =
} }
} }
if ( drawing_Inline === this.DrawingType )
{
Props.Paddings =
{
Left : 3.2,
Right : 3.2,
Top : 0,
Bottom : 0
};
}
else
{
Props.Paddings = Props.Paddings =
{ {
Left : this.Distance.L, Left : this.Distance.L,
...@@ -3073,6 +3085,7 @@ ParaDrawing.prototype = ...@@ -3073,6 +3085,7 @@ ParaDrawing.prototype =
Top : this.Distance.T, Top : this.Distance.T,
Bottom : this.Distance.B Bottom : this.Distance.B
}; };
}
Props.AllowOverlap = this.AllowOverlap; Props.AllowOverlap = this.AllowOverlap;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment