Commit faaeb650 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

scroll thumbnail

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58664 954022d7-b5bf-4e40-9824-e11837661b57
parent 1fe5a34c
......@@ -3824,7 +3824,7 @@ function CThumbnailsManager()
// теперь нужно выставить размеры
var settings = {
showArrows: true,
showArrows: false,
animateScroll: false,
screenW: word_control.m_oThumbnails.HtmlElement.width,
screenH: word_control.m_oThumbnails.HtmlElement.height
......
......@@ -320,6 +320,7 @@ function CEditorPage(api)
this.Splitter2PosMax = 100;
var ScrollWidthMm = this.ScrollWidthPx * g_dKoef_pix_to_mm;
var ScrollWidthMm9 = 9 * g_dKoef_pix_to_mm;
this.Thumbnails.m_oWordControl = this;
......@@ -340,7 +341,7 @@ function CEditorPage(api)
this.m_oThumbnailsContainer.AddControl(this.m_oThumbnails);
this.m_oThumbnails_scroll = CreateControl("id_vertical_scroll_thmbnl");
this.m_oThumbnails_scroll.Bounds.SetParams(0,0,1000,1000,false,false,false,false,ScrollWidthMm,-1);
this.m_oThumbnails_scroll.Bounds.SetParams(0,0,4 * g_dKoef_pix_to_mm,1000,false,false,true,false,ScrollWidthMm9,-1);
this.m_oThumbnails_scroll.Anchor = (g_anchor_top | g_anchor_right |g_anchor_bottom);
this.m_oThumbnailsContainer.AddControl(this.m_oThumbnails_scroll);
// ----------------
......
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