<?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: slider button in Vuforia Studio</title>
    <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/slider-button/m-p/654035#M7767</link>
    <description>&lt;P&gt;Hello jc2,B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think, I will have this approach to do a such UI.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use a &lt;STRONG&gt;Grid Widget&lt;/STRONG&gt; with 2 &lt;STRONG&gt;Rows&lt;/STRONG&gt;. One for buttons and tabs. Another one for panel.&lt;/LI&gt;
&lt;LI&gt;In &lt;STRONG&gt;Column Properties&lt;/STRONG&gt; of the first row, change &lt;STRONG&gt;Flex Direction&lt;/STRONG&gt; to &lt;STRONG&gt;Row&lt;/STRONG&gt;, &lt;STRONG&gt;Justification&lt;/STRONG&gt; to &lt;STRONG&gt;Center&lt;/STRONG&gt; and &lt;STRONG&gt;Alignment&lt;/STRONG&gt; to &lt;STRONG&gt;Start&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;For each buttons with arrows, use an &lt;STRONG&gt;Toggle Button Widget&lt;/STRONG&gt;. Svg images will be enough to hToave a different display when clicking and in a normal state.&lt;/LI&gt;
&lt;LI&gt;For each tabs, use a &lt;STRONG&gt;Label Widget&lt;/STRONG&gt;. Use a custom &lt;STRONG&gt;CSS stylesheet&lt;/STRONG&gt; to control font type, background color ...etc..&lt;/LI&gt;
&lt;LI&gt;Apply another CSS stylesheet to new label tab selected. Apply back default CSS stylesheet to label tab not anymore selected&lt;/LI&gt;
&lt;LI&gt;Last thing, how to have a content diferent in each tab, in the second &lt;STRONG&gt;Row&lt;/STRONG&gt; in the &lt;STRONG&gt;Grid&lt;/STRONG&gt; ?&lt;/LI&gt;
&lt;LI&gt;Use a &lt;STRONG&gt;Panel&lt;/STRONG&gt; &lt;STRONG&gt;Widget&lt;/STRONG&gt; for each tabs.&lt;/LI&gt;
&lt;LI&gt;In Javascript, display only the current panel. So, switch off &lt;STRONG&gt;Visible&lt;/STRONG&gt; &lt;STRONG&gt;Property&lt;/STRONG&gt; for the &lt;STRONG&gt;Panel&lt;/STRONG&gt; linked to Label tab not more selected.&lt;/LI&gt;
&lt;LI&gt;Put that you need in each panel/&lt;/LI&gt;
&lt;LI&gt;In &lt;STRONG&gt;Toggle Buttons&lt;/STRONG&gt;, in &lt;STRONG&gt;EVENTS&lt;/STRONG&gt;, in &lt;STRONG&gt;Pressed&lt;/STRONG&gt; event, call the Javascript function to do action needed&lt;/LI&gt;
&lt;LI&gt;In &lt;STRONG&gt;Label Widget&lt;/STRONG&gt;, we have also a &lt;STRONG&gt;Click&lt;/STRONG&gt; &lt;STRONG&gt;Event&lt;/STRONG&gt;. It is possible to have a Javascript function to select another tab when clicking on it.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it helping you ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Samuel&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2020 07:39:59 GMT</pubDate>
    <dc:creator>sdidier</dc:creator>
    <dc:date>2020-03-12T07:39:59Z</dc:date>
    <item>
      <title>slider button</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/slider-button/m-p/654019#M7766</link>
      <description>&lt;P&gt;How to make a slider button that when I click the next arrow it will generate for the next panel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/24568i842FC6649B8420C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 05:49:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/slider-button/m-p/654019#M7766</guid>
      <dc:creator>potatochips</dc:creator>
      <dc:date>2020-03-12T05:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: slider button</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/slider-button/m-p/654035#M7767</link>
      <description>&lt;P&gt;Hello jc2,B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think, I will have this approach to do a such UI.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use a &lt;STRONG&gt;Grid Widget&lt;/STRONG&gt; with 2 &lt;STRONG&gt;Rows&lt;/STRONG&gt;. One for buttons and tabs. Another one for panel.&lt;/LI&gt;
&lt;LI&gt;In &lt;STRONG&gt;Column Properties&lt;/STRONG&gt; of the first row, change &lt;STRONG&gt;Flex Direction&lt;/STRONG&gt; to &lt;STRONG&gt;Row&lt;/STRONG&gt;, &lt;STRONG&gt;Justification&lt;/STRONG&gt; to &lt;STRONG&gt;Center&lt;/STRONG&gt; and &lt;STRONG&gt;Alignment&lt;/STRONG&gt; to &lt;STRONG&gt;Start&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;For each buttons with arrows, use an &lt;STRONG&gt;Toggle Button Widget&lt;/STRONG&gt;. Svg images will be enough to hToave a different display when clicking and in a normal state.&lt;/LI&gt;
&lt;LI&gt;For each tabs, use a &lt;STRONG&gt;Label Widget&lt;/STRONG&gt;. Use a custom &lt;STRONG&gt;CSS stylesheet&lt;/STRONG&gt; to control font type, background color ...etc..&lt;/LI&gt;
&lt;LI&gt;Apply another CSS stylesheet to new label tab selected. Apply back default CSS stylesheet to label tab not anymore selected&lt;/LI&gt;
&lt;LI&gt;Last thing, how to have a content diferent in each tab, in the second &lt;STRONG&gt;Row&lt;/STRONG&gt; in the &lt;STRONG&gt;Grid&lt;/STRONG&gt; ?&lt;/LI&gt;
&lt;LI&gt;Use a &lt;STRONG&gt;Panel&lt;/STRONG&gt; &lt;STRONG&gt;Widget&lt;/STRONG&gt; for each tabs.&lt;/LI&gt;
&lt;LI&gt;In Javascript, display only the current panel. So, switch off &lt;STRONG&gt;Visible&lt;/STRONG&gt; &lt;STRONG&gt;Property&lt;/STRONG&gt; for the &lt;STRONG&gt;Panel&lt;/STRONG&gt; linked to Label tab not more selected.&lt;/LI&gt;
&lt;LI&gt;Put that you need in each panel/&lt;/LI&gt;
&lt;LI&gt;In &lt;STRONG&gt;Toggle Buttons&lt;/STRONG&gt;, in &lt;STRONG&gt;EVENTS&lt;/STRONG&gt;, in &lt;STRONG&gt;Pressed&lt;/STRONG&gt; event, call the Javascript function to do action needed&lt;/LI&gt;
&lt;LI&gt;In &lt;STRONG&gt;Label Widget&lt;/STRONG&gt;, we have also a &lt;STRONG&gt;Click&lt;/STRONG&gt; &lt;STRONG&gt;Event&lt;/STRONG&gt;. It is possible to have a Javascript function to select another tab when clicking on it.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it helping you ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Samuel&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 07:39:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/slider-button/m-p/654035#M7767</guid>
      <dc:creator>sdidier</dc:creator>
      <dc:date>2020-03-12T07:39:59Z</dc:date>
    </item>
  </channel>
</rss>

