<?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: Radio button main padding not applied in GUI Guider</title>
    <link>https://community.nxp.com/t5/GUI-Guider/Radio-button-main-padding-not-applied/m-p/1638030#M331</link>
    <description>&lt;P&gt;What do you mean? we can do that with plain lvgl, also in GUI Guider there is a Padding section for it and the preview is updating when you change the padding, but running the application isn't reflecting the changes&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FederAndInk_0-1682078067546.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/220318i0BE6C4088143B40D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FederAndInk_0-1682078067546.png" alt="FederAndInk_0-1682078067546.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2023 11:56:21 GMT</pubDate>
    <dc:creator>FederAndInk</dc:creator>
    <dc:date>2023-04-21T11:56:21Z</dc:date>
    <item>
      <title>Radio button main padding not applied</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Radio-button-main-padding-not-applied/m-p/1637370#M328</link>
      <description>&lt;P&gt;I wanted to put padding in between the radio button elements but it didn't do anything, by looking at the code it seems that&lt;/P&gt;&lt;LI-CODE lang="c"&gt;lv_obj_t * lv_radiobtn_add_item(lv_obj_t * parent, const char * txt)
{
  ...
  lv_obj_set_style_pad_all(obj, 3, LV_PART_MAIN);
  ...
}&lt;/LI-CODE&gt;&lt;P&gt;at lvgl/src/extra/widgets/radiobtn/lv_radiobtn.c:96 is at fault, it is overriding the generated style:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;lv_style_set_pad_left(&amp;amp;style_screen_radiobtn_1_extra_btns_main_default, 15);
lv_style_set_pad_right(&amp;amp;style_screen_radiobtn_1_extra_btns_main_default, 9);
lv_style_set_pad_top(&amp;amp;style_screen_radiobtn_1_extra_btns_main_default, 12);
lv_style_set_pad_bottom(&amp;amp;style_screen_radiobtn_1_extra_btns_main_default, 10);
...

lv_obj_add_style(screen_radiobtn_1_item, &amp;amp;style_screen_radiobtn_1_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 15:31:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Radio-button-main-padding-not-applied/m-p/1637370#M328</guid>
      <dc:creator>FederAndInk</dc:creator>
      <dc:date>2023-04-20T15:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button main padding not applied</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Radio-button-main-padding-not-applied/m-p/1638030#M331</link>
      <description>&lt;P&gt;What do you mean? we can do that with plain lvgl, also in GUI Guider there is a Padding section for it and the preview is updating when you change the padding, but running the application isn't reflecting the changes&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FederAndInk_0-1682078067546.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/220318i0BE6C4088143B40D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FederAndInk_0-1682078067546.png" alt="FederAndInk_0-1682078067546.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:56:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Radio-button-main-padding-not-applied/m-p/1638030#M331</guid>
      <dc:creator>FederAndInk</dc:creator>
      <dc:date>2023-04-21T11:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button main padding not applied</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Radio-button-main-padding-not-applied/m-p/1638032#M332</link>
      <description>&lt;P&gt;You can see in my first post the difference between what GUI Guider shows and the application running (I put high padding values to better see the difference):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FederAndInk_0-1682078295001.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/220320iFB6C0CF331A424F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FederAndInk_0-1682078295001.png" alt="FederAndInk_0-1682078295001.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 11:58:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Radio-button-main-padding-not-applied/m-p/1638032#M332</guid>
      <dc:creator>FederAndInk</dc:creator>
      <dc:date>2023-04-21T11:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Radio button main padding not applied</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Radio-button-main-padding-not-applied/m-p/1638365#M334</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216133"&gt;@FederAndInk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback.&lt;/P&gt;
&lt;P&gt;You are right with this issue and we will fix it in next release (V1.6.0).&lt;/P&gt;
&lt;P&gt;Please feel free to give any type of feedback (bug, improvement, feature and etc.) in the community to help us make GUI Guider better.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Wenbin Yuan&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 02:45:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Radio-button-main-padding-not-applied/m-p/1638365#M334</guid>
      <dc:creator>WenbinYuan</dc:creator>
      <dc:date>2023-04-23T02:45:26Z</dc:date>
    </item>
  </channel>
</rss>

