<?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 Re: Splash Widget in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867961#M12487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. The link was helpful and I fixed the overflow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 00:10:59 GMT</pubDate>
    <dc:creator>LefterisKoumis</dc:creator>
    <dc:date>2015-10-08T00:10:59Z</dc:date>
    <item>
      <title>Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867950#M12476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can you change the size of the splash screen? Modifying the css file or the json did not help. My app is to be used as a desktop app, so I don't worry about how it will look in a mobile environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 20:23:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867950#M12476</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2015-10-07T20:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867951#M12477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lefteris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the widgets/splash/css/style.css&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.jimu-widget-splash-desktop .splash-container{ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Controls the splash widget width. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 20:29:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867951#M12477</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-10-07T20:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867952#M12478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lefteris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The height and width of the splash is set by code in the Widget.js in the _changeStatus function (line 16 and 19):&lt;/P&gt;&lt;P&gt;and a max-width and max-height is set in the css &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.jimu-widget-splash-desktop .envelope{
&amp;nbsp; max-height: 500px;
&amp;nbsp; max-width: 640px;
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _changeStatus: function() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (isFullWindow()) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.addClass(this.domNode, 'jimu-widget-splash-mobile');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.removeClass(this.domNode, 'jimu-widget-splash-desktop');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.addClass(this.domNode, 'jimu-widget-splash-desktop');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.removeClass(this.domNode, 'jimu-widget-splash-mobile');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (html.hasClass(this.domNode, 'jimu-widget-splash-desktop')) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.setStyle(this.customContentNode, 'marginTop', '20px');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.setStyle(this.customContentNode, 'height', 'auto');

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var box = html.getContentBox(this.splashContainerNode);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (box &amp;amp;&amp;amp; box.w &amp;gt; 0) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.setStyle(this.envelopeNode, 'width', box.w + 'px');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (box &amp;amp;&amp;amp; box.h &amp;gt; 0) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.setStyle(this.envelopeNode, 'height', box.h + 'px');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.setStyle(this.splashContainerNode, 'top', 0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.setStyle(this.splashContainerNode, 'left', 0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.setStyle(this.envelopeNode, 'width', 'auto');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.setStyle(this.envelopeNode, 'height', 'auto');

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._moveContentToMiddle();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this._resizeContentImg();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:48:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867952#M12478</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T10:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867953#M12479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert. I already did both. I clear the cache and still no change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 21:05:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867953#M12479</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2015-10-07T21:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867954#M12480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried it. No change. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 21:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867954#M12480</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2015-10-07T21:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867955#M12481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to make sure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are editing the widget in server/apps/(your app number)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 21:10:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867955#M12481</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-10-07T21:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867956#M12482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 21:20:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867956#M12482</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2015-10-07T21:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867957#M12483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lefteris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Rickey's reply is correct. If I add this to the style.css then the splash is resized (lines 6 &amp;amp; 7 Added):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.jimu-widget-splash-desktop .splash-container{
&amp;nbsp; position: absolute;
&amp;nbsp; display: inline-block;
&amp;nbsp; background-color: #485566;
&amp;nbsp; box-shadow: 0 0 4px rgba(160, 160, 160, 0.4);
&amp;nbsp; width: 800px;
&amp;nbsp; height: 600px;
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you want the splash content to take up the new height then make this adjustment to the css:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;.jimu-widget-splash-desktop .custom-content{
&amp;nbsp; /*width: 560px;*/
&amp;nbsp; margin: 20px auto;
&amp;nbsp; overflow: auto;
&amp;nbsp; color: #fff;
&amp;nbsp; /*max-height: 388px;*/
&amp;nbsp; height: 470px;
}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the Widget.js _changeStatus function comment out this line:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;html.setStyle(this.customContentNode, 'height', 'auto');&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:48:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867957#M12483</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T10:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867958#M12484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are correct. However, the text is overflow outside the widget new width. I reduced the width to 450 and increased height to 600.&amp;nbsp; How do I restrict the text within the new width? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 22:15:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867958#M12484</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2015-10-07T22:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867959#M12485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lefteris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use chrome developer tools to edit css&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this site for examples&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.google.com/web/tools/iterate/inspect-styles/basics" title="https://developers.google.com/web/tools/iterate/inspect-styles/basics"&gt;Inspect and Tweak Your Pages: the Basics — Web Fundamentals&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 22:30:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867959#M12485</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-10-07T22:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867960#M12486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a similar problem, except with edits to the edit widgets popup. Changes don't necessarily reveal themselves. itsomes works better when I view the results in another browser or use "incognito". &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 23:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867960#M12486</guid>
      <dc:creator>DavidWasserman</dc:creator>
      <dc:date>2015-10-07T23:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splash Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867961#M12487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. The link was helpful and I fixed the overflow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 00:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/splash-widget/m-p/867961#M12487</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2015-10-08T00:10:59Z</dc:date>
    </item>
  </channel>
</rss>

