Commit fa5bc37b authored by Anna.Pavlova's avatar Anna.Pavlova

Поправила отрисовку BorderBox для textArt

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66950 954022d7-b5bf-4e40-9824-e11837661b57
parent 3bdb6212
......@@ -225,7 +225,16 @@ CBorderBox.prototype.Draw_Elements = function(PDSE)
var X = this.pos.x + PosLine.x + this.GapLeft,
Y = this.pos.y + PosLine.y;
this.Make_ShdColor(PDSE, this.Get_CompiledCtrPrp());
var oCompiledPr = this.Get_CompiledCtrPrp();
this.Make_ShdColor(PDSE, oCompiledPr);
var oTextOutline = oCompiledPr.TextOutline;
if(PDSE.Graphics.Start_Command) // textArt
{
oCompiledPr.TextOutline = null;
PDSE.Graphics.SetTextPr(oCompiledPr, PDSE.Theme);
}
if(!this.Pr.hideTop)
{
......@@ -366,6 +375,8 @@ CBorderBox.prototype.Draw_Elements = function(PDSE)
PDSE.X = _X + this.size.width;
oCompiledPr.TextOutline = oTextOutline; // меняем обратно, чтобы не изменились скомпилированные текстовые настройки
};
CBorderBox.prototype.setPosition = function(pos, PosInfo)
{
......
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