<?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: Gradient in GUI Guider</title>
    <link>https://community.nxp.com/t5/GUI-Guider/Gradient/m-p/1723558#M476</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220200"&gt;@frozen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;The current LVGL does not support multi-point gradient colors.&amp;nbsp;We recommend that you first use two items to splice them together to achieve the effect you want.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/241127iE8EE27FB0BA2F99D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;By the way,&amp;nbsp; you can add the custom style code to the current screen.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;lv_obj_set_style_bg_grad_stop(ui-&amp;gt;screen_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);&lt;/LI-CODE&gt;
&lt;P&gt;The API can set the point from which the background's gradient color should start. 0 means to top/left size, 255 for the bottom/right side, and 128 for the center.&lt;/P&gt;
&lt;P&gt;Best regards&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Liubin&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2023 03:29:53 GMT</pubDate>
    <dc:creator>LiubinGong</dc:creator>
    <dc:date>2023-09-15T03:29:53Z</dc:date>
    <item>
      <title>Gradient</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Gradient/m-p/1723393#M475</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I want to have a background like attached picture but I could not make it with gradient tool. You see it starts with dark color at top, then goes to light blue in the middle and goes to darker color at the bottom. Could someone help me to do that ? I will use it with imx RT1176. I use latest Gui Guider and latest lvgl version in the program.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="frozen_0-1694721406065.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/241080iFE4551F955642035/image-size/medium?v=v2&amp;amp;px=400" role="button" title="frozen_0-1694721406065.png" alt="frozen_0-1694721406065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 19:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Gradient/m-p/1723393#M475</guid>
      <dc:creator>frozen</dc:creator>
      <dc:date>2023-09-14T19:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Gradient</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Gradient/m-p/1723558#M476</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220200"&gt;@frozen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;The current LVGL does not support multi-point gradient colors.&amp;nbsp;We recommend that you first use two items to splice them together to achieve the effect you want.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/241127iE8EE27FB0BA2F99D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;By the way,&amp;nbsp; you can add the custom style code to the current screen.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;lv_obj_set_style_bg_grad_stop(ui-&amp;gt;screen_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);&lt;/LI-CODE&gt;
&lt;P&gt;The API can set the point from which the background's gradient color should start. 0 means to top/left size, 255 for the bottom/right side, and 128 for the center.&lt;/P&gt;
&lt;P&gt;Best regards&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Liubin&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 03:29:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Gradient/m-p/1723558#M476</guid>
      <dc:creator>LiubinGong</dc:creator>
      <dc:date>2023-09-15T03:29:53Z</dc:date>
    </item>
  </channel>
</rss>

