<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Folder Tree List default width in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/folder-tree-list-default-width/m-p/81131#M25054</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're having a question regarding the left side folder tree list default width.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As we have some very long nested folders with long names, users have to systematically change the width of the left panel to a larger size, is there a way to change the width permanently ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/27198_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jul 2019 09:35:58 GMT</pubDate>
    <dc:creator>j_ashton</dc:creator>
    <dc:date>2019-07-19T09:35:58Z</dc:date>
    <item>
      <title>Folder Tree List default width</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/folder-tree-list-default-width/m-p/81131#M25054</link>
      <description>Hi everyone,We're having a question regarding the left side folder tree list default width.As we have some very long nested folders with long names, users have to systematically change the width of the left panel to a larger size, is there a way to change the width permanently ?Thanks in advance,</description>
      <pubDate>Fri, 19 Jul 2019 09:35:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/folder-tree-list-default-width/m-p/81131#M25054</guid>
      <dc:creator>j_ashton</dc:creator>
      <dc:date>2019-07-19T09:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Folder Tree List default width</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/folder-tree-list-default-width/m-p/81132#M25055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to look into&amp;nbsp;"share.js" file and override the pannel width to a fixed value. You can find this file here:&amp;nbsp;share.war/js/share.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update the properties for width and put the file as part of your customization such as:&amp;nbsp;&amp;lt;SHAREMODULE&amp;gt;\src\main\resources\META-INF\js\share.js&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The changes will automatically apply once you apply your customization to the war file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Approach 1:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;onReady: function Resizer_onReady()&lt;BR /&gt; {&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this.MIN_FILTER_PANEL_WIDTH = 200; //Keeps the pannel 200px fixed When page loads. Change the value accordingly&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this.MAX_FILTER_PANEL_WIDTH = 1500; //Allows you to move the pannel till the end up to 1500 px.&amp;nbsp;Change the value accordingly&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Horizontal Resizer&lt;BR /&gt; this.widgets.horizResize = new YAHOO.util.Resize(this.options.divLeft,&lt;BR /&gt; {&lt;BR /&gt; handles: ["r"],&lt;BR /&gt; minWidth: this.MIN_FILTER_PANEL_WIDTH,&lt;BR /&gt; maxWidth: this.MAX_FILTER_PANEL_WIDTH&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;// Before and End resize event handlers&lt;BR /&gt; this.widgets.horizResize.on("beforeResize", function(eventTarget)&lt;BR /&gt; {&lt;BR /&gt; this.onResize(eventTarget.width);&lt;BR /&gt; }, this, true);&lt;BR /&gt; this.widgets.horizResize.on("endResize", function(eventTarget)&lt;BR /&gt; {&lt;BR /&gt; this.onResize(eventTarget.width);&lt;BR /&gt; }, this, true);&lt;/P&gt;&lt;P&gt;// Recalculate the vertical size on a browser window resize event&lt;BR /&gt; YAHOO.util.Event.on(window, "resize", function(e)&lt;BR /&gt; {&lt;BR /&gt; this.onResize();&lt;BR /&gt; }, this, true);&lt;/P&gt;&lt;P&gt;// Monitor the document height for ajax updates&lt;BR /&gt; this.options.documentHeight = Dom.getXY("alf-ft")[1];&lt;/P&gt;&lt;P&gt;YAHOO.lang.later(1000, this, function()&lt;BR /&gt; {&lt;BR /&gt; var h = Dom.getXY("alf-ft")[1];&lt;BR /&gt; if (Math.abs(this.options.documentHeight - h) &amp;gt; 4)&lt;BR /&gt; {&lt;BR /&gt; this.options.documentHeight = h;&lt;BR /&gt; this.onResize();&lt;BR /&gt; }&lt;BR /&gt; }, null, true);&lt;/P&gt;&lt;P&gt;// Initial size&lt;BR /&gt; var width = (this.options.initialWidth ? this.options.initialWidth : this.DEFAULT_FILTER_PANEL_WIDTH);&lt;BR /&gt; if (YAHOO.env.ua.ie &amp;gt; 0)&lt;BR /&gt; {&lt;BR /&gt; this.widgets.horizResize.resize(null, this.widgets.horizResize.get("element").offsetHeight, width, 0, 0, true);&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; this.widgets.horizResize.resize(null, this.widgets.horizResize.get("height"), width, 0, 0, true);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;this.onResize(width);&lt;BR /&gt; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Approach 2: Override the values globally,&amp;nbsp;make sure it doesn't break any other functionality.&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alfresco.widget.Resizer.prototype =&lt;BR /&gt; {&lt;BR /&gt; /**&lt;BR /&gt; * Minimum Filter Panel height.&lt;BR /&gt; *&lt;BR /&gt; * @property MIN_FILTER_PANEL_HEIGHT&lt;BR /&gt; * @type int&lt;BR /&gt; */&lt;BR /&gt; MIN_FILTER_PANEL_HEIGHT: 200,&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt; * Minimum Filter Panel width.&lt;BR /&gt; *&lt;BR /&gt; * @property MIN_FILTER_PANEL_WIDTH&lt;BR /&gt; * @type int&lt;BR /&gt; */&lt;BR /&gt; &lt;STRONG&gt;MIN_FILTER_PANEL_WIDTH: 140,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt; * Default Filter Panel width.&lt;BR /&gt; *&lt;BR /&gt; * @property DEFAULT_FILTER_PANEL_WIDTH&lt;BR /&gt; * @type int&lt;BR /&gt; */&lt;BR /&gt; &lt;STRONG&gt;DEFAULT_FILTER_PANEL_WIDTH: 160,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt; * Maximum Filter Panel width.&lt;BR /&gt; *&lt;BR /&gt; * @property MAX_FILTER_PANEL_WIDTH&lt;BR /&gt; * @type int&lt;BR /&gt; */&lt;BR /&gt; &lt;STRONG&gt;MAX_FILTER_PANEL_WIDTH: 500,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2019 17:36:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/folder-tree-list-default-width/m-p/81132#M25055</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-07-22T17:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Folder Tree List default width</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/folder-tree-list-default-width/m-p/81133#M25056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Abhinav i'll try that !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 07:46:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/folder-tree-list-default-width/m-p/81133#M25056</guid>
      <dc:creator>j_ashton</dc:creator>
      <dc:date>2019-07-23T07:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Folder Tree List default width</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/folder-tree-list-default-width/m-p/81134#M25057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me know if it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2019 13:01:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/folder-tree-list-default-width/m-p/81134#M25057</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2019-07-23T13:01:12Z</dc:date>
    </item>
  </channel>
</rss>

