<?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>GUI GuiderのトピックIs there a text newline in the GUI Guider imgbtn widget?</title>
    <link>https://community.nxp.com/t5/GUI-Guider/Is-there-a-text-newline-in-the-GUI-Guider-imgbtn-widget/m-p/1805681#M796</link>
    <description>&lt;P&gt;&lt;FONT size="3"&gt;Hello&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;I am developing using MIMXRT1170-EVK and GUI Guider.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;The GUI Guider version is as follows. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp;- GUI Guider : v1.7.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;I Want to display text in 2 lines in the imgbtn widget.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Please answer about my question.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 08:07:41 GMT</pubDate>
    <dc:creator>seobi1111</dc:creator>
    <dc:date>2024-02-13T08:07:41Z</dc:date>
    <item>
      <title>Is there a text newline in the GUI Guider imgbtn widget?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Is-there-a-text-newline-in-the-GUI-Guider-imgbtn-widget/m-p/1805681#M796</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;Hello&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;I am developing using MIMXRT1170-EVK and GUI Guider.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;The GUI Guider version is as follows. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&amp;nbsp; &amp;nbsp;- GUI Guider : v1.7.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;I Want to display text in 2 lines in the imgbtn widget.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Please answer about my question.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 08:07:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Is-there-a-text-newline-in-the-GUI-Guider-imgbtn-widget/m-p/1805681#M796</guid>
      <dc:creator>seobi1111</dc:creator>
      <dc:date>2024-02-13T08:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a text newline in the GUI Guider imgbtn widget?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Is-there-a-text-newline-in-the-GUI-Guider-imgbtn-widget/m-p/1808772#M798</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228893"&gt;@seobi1111&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;To add text to a button, one should call the&amp;nbsp;lv_label_set_text() function. For a "normal" button, like this, when adding text in two different lines like this, the generated function is as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinHz_0-1707952251978.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263225i369DA90AD400ED3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinHz_0-1707952251978.png" alt="EdwinHz_0-1707952251978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;lv_label_set_text(ui-&amp;gt;screen_btn_1_label, "1st line\n2nd line");&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the imgbtn widget, the textbox under "Attribute" in GUI Guider does not allow you to add line breaks, but you should be able to edit the&amp;nbsp;lv_label_set_text() function that corresponds to the imgbtn widget and add a "\n" manually to see a line break on the imgbtn.&lt;/P&gt;
&lt;P&gt;I hope this helps,&lt;BR /&gt;Edwin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 23:17:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Is-there-a-text-newline-in-the-GUI-Guider-imgbtn-widget/m-p/1808772#M798</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2024-02-14T23:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a text newline in the GUI Guider imgbtn widget?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Is-there-a-text-newline-in-the-GUI-Guider-imgbtn-widget/m-p/1809719#M800</link>
      <description>&lt;P&gt;Hi~ EdwinHz&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;It's not in the GUI Guider widget properties, but I modified it in the code as you mentioned and it works fine.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 04:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Is-there-a-text-newline-in-the-GUI-Guider-imgbtn-widget/m-p/1809719#M800</guid>
      <dc:creator>seobi1111</dc:creator>
      <dc:date>2024-02-16T04:51:47Z</dc:date>
    </item>
  </channel>
</rss>

