<?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: Create top-right delete image button in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-top-right-delete-image-button/m-p/620449#M37908</link>
    <description>&lt;P&gt;Yes you can, the Button widget can overlap with the valueDisplay widget, and occupy the top-right part of the image.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then, you need to change the Button &lt;STRONG&gt;Style&lt;/STRONG&gt; with a X image, and figure out the "Close/ delete image" logic in a service and trigger it by this Button.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2019 02:12:22 GMT</pubDate>
    <dc:creator>zyuan1</dc:creator>
    <dc:date>2019-07-30T02:12:22Z</dc:date>
    <item>
      <title>Create top-right delete image button</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-top-right-delete-image-button/m-p/620223#M37864</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Like the subject, I would like to create a top-right delete image button for value display widget (like the image below)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 159px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/18248i39F79813E34C6C85/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is there any way to perform it?&lt;/P&gt;
&lt;P&gt;Any help is appreciated.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 02:12:37 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-top-right-delete-image-button/m-p/620223#M37864</guid>
      <dc:creator>Quannd</dc:creator>
      <dc:date>2019-07-29T02:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create top-right delete image button</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-top-right-delete-image-button/m-p/620449#M37908</link>
      <description>&lt;P&gt;Yes you can, the Button widget can overlap with the valueDisplay widget, and occupy the top-right part of the image.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then, you need to change the Button &lt;STRONG&gt;Style&lt;/STRONG&gt; with a X image, and figure out the "Close/ delete image" logic in a service and trigger it by this Button.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 02:12:22 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-top-right-delete-image-button/m-p/620449#M37908</guid>
      <dc:creator>zyuan1</dc:creator>
      <dc:date>2019-07-30T02:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create top-right delete image button</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-top-right-delete-image-button/m-p/620450#M37909</link>
      <description>&lt;P&gt;Thank &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/274322"&gt;@zyuan1&lt;/a&gt; ,&amp;nbsp;but could you explain more details for me? (An example maybe)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 02:16:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-top-right-delete-image-button/m-p/620450#M37909</guid>
      <dc:creator>Quannd</dc:creator>
      <dc:date>2019-07-30T02:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create top-right delete image button</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-top-right-delete-image-button/m-p/620454#M37910</link>
      <description>&lt;P&gt;Which part is not clear?&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;Overlap the Button widget with the ValueDisplay widget, put it in top-right corner.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 146px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/18281i332C4DAB8B237D51/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Change the Button&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Style&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with a X image&amp;nbsp; (I don't have that at hand, use another one)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 297px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/18282iD71213BC2ABD95F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&amp;nbsp; In mashup it looks like&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 180px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/18283iA39EE7C31F350D83/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. Figure out the "Close/ delete image" logic in a service and trigger it by this Button.&amp;nbsp; (Don't know how you want to delete image in ValueDisplay, so you need to do the customization yourself)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 02:30:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Create-top-right-delete-image-button/m-p/620454#M37910</guid>
      <dc:creator>zyuan1</dc:creator>
      <dc:date>2019-07-30T02:30:20Z</dc:date>
    </item>
  </channel>
</rss>

