<?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: CL_GUI_HTML_VIEWER - stretch image in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-stretch-image/m-p/12632917#M2013527</link>
    <description>&lt;P&gt;Please use the COMMENT button for comments, asking for complements, adding details, replying to a comment or a proposed solution or to the OP question, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.&lt;/P&gt;&lt;P&gt;I mean, instead, post a comment under &lt;SPAN class="mention-scrubbed"&gt;ziolkowskib&lt;/SPAN&gt; answer.&lt;/P&gt;&lt;P&gt;CL_GUI_HTML_VIEWER is about displaying HTML/CSS content and more, so Bartosz is explaining you how to stretch the image, but I guess you need to make clear what HTML and CSS are, right?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2022 12:30:59 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2022-11-21T12:30:59Z</dc:date>
    <item>
      <title>CL_GUI_HTML_VIEWER - stretch image</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-stretch-image/m-p/12632914#M2013524</link>
      <description>&lt;P&gt;I am using CL_GUI_HTML_VIEWER to display an image (using an URL) in GUI. The image is displayed within a black frame inside the container (CL_GUI_CUSTOM_CONTAINER).&lt;/P&gt;
  &lt;P&gt;Does anyone know how to control the size of the image in the container (e.g. how to stretch the image to fit the container) or how to control the frame (width and colour of the frame)?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 10:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-stretch-image/m-p/12632914#M2013524</guid>
      <dc:creator>csaba_szommer</dc:creator>
      <dc:date>2022-11-21T10:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_HTML_VIEWER - stretch image</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-stretch-image/m-p/12632915#M2013525</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;csaba.szommer&lt;/SPAN&gt;,&lt;BR /&gt;&lt;BR /&gt;I would personally play with CSS to set up background color of your HTML content.  &lt;BR /&gt;You could set the width / height of your image using widht / height attributes in the IMG tag. &lt;BR /&gt;Please remember that you should specify either width or height as you might be interested in keeping the original ratio of the image. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;


&amp;lt;head&amp;gt;
    &amp;lt;meta charset="utf-8" /&amp;gt;
    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
    &amp;lt;style&amp;gt;
        html {
            margin: 0;
            padding: 0;
        }


        body {
            margin: 0;
            padding: 0;
            background-color: #ffffff;
            color: #000;
        }
    &amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;


&amp;lt;body&amp;gt;
    &amp;lt;div class="wrapper"&amp;gt;
        &amp;lt;img src="SOMEIMAGE.JPG" width="100%" /&amp;gt;
    &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;


&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;BR /&gt;Bartosz&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 10:29:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-stretch-image/m-p/12632915#M2013525</guid>
      <dc:creator>ziolkowskib</dc:creator>
      <dc:date>2022-11-21T10:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_HTML_VIEWER - stretch image</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-stretch-image/m-p/12632916#M2013526</link>
      <description>&lt;P&gt;Hi Bartosz,&lt;/P&gt;&lt;P&gt;thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;I meant to control the display of the image within ABAP using the mentioned class. If it is not possible, I will have to "wrap" it as you suggested but I would like to avoid that.  &lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 10:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-stretch-image/m-p/12632916#M2013526</guid>
      <dc:creator>csaba_szommer</dc:creator>
      <dc:date>2022-11-21T10:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_HTML_VIEWER - stretch image</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-stretch-image/m-p/12632917#M2013527</link>
      <description>&lt;P&gt;Please use the COMMENT button for comments, asking for complements, adding details, replying to a comment or a proposed solution or to the OP question, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.&lt;/P&gt;&lt;P&gt;I mean, instead, post a comment under &lt;SPAN class="mention-scrubbed"&gt;ziolkowskib&lt;/SPAN&gt; answer.&lt;/P&gt;&lt;P&gt;CL_GUI_HTML_VIEWER is about displaying HTML/CSS content and more, so Bartosz is explaining you how to stretch the image, but I guess you need to make clear what HTML and CSS are, right?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 12:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-html-viewer-stretch-image/m-p/12632917#M2013527</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-11-21T12:30:59Z</dc:date>
    </item>
  </channel>
</rss>

