<?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: A little help with UI_LISTFIELD / UI_LISITEM in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/376212#M2770</link>
    <description>&lt;P&gt;The command has a fixed amount of white space to the right margin? What on earth is the point of that...&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 05:16:48 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2023-04-11T05:16:48Z</dc:date>
    <item>
      <title>A little help with UI_LISTFIELD / UI_LISITEM</title>
      <link>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334609#M2764</link>
      <description>&lt;P&gt;Hi folks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know if there is any way to control the width of the columns in a UI_LISTFIELD? Or at least a way where the field name text appears all over&amp;nbsp;(not the column name&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;).&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="andrecarmo_0-1649095468657.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/20277i5FDA3727DEA6FA87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrecarmo_0-1649095468657.png" alt="andrecarmo_0-1649095468657.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And does anyone else notice that it appears differently in the preview of the programming environment and in the object choice window? The dimensions are never the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:28:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334609#M2764</guid>
      <dc:creator>andrecarmo</dc:creator>
      <dc:date>2024-09-24T08:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: A little help with UI_LISTFIELD / UI_LISITEM</title>
      <link>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334702#M2765</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without your code, I'm not sure if I understood the problem correctly, but I will try to help you the best I can, but a code snippet would be appreciated for more accurate solution. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;With the UI_LISTFIELD command you can define a scrollable list for your parameters. This listfield has x, y coordinates and also width and height (and optionally other stuff as well, see &lt;A href="https://gdl.graphisoft.com/tips-and-tricks/how-to-use-ui_listfield-dinamically-in-ui" target="_self"&gt;here&lt;/A&gt; ).&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;The UI_LISTITEM command will help you put your parameters into the defined listfield.&lt;/P&gt;&lt;P data-unlink="true"&gt;The width of the individual columns cannot be defined, but if you set the listfield's width correctly, your text should be fully visible.&lt;/P&gt;&lt;P data-unlink="true"&gt;I'm not sure what you mean by column name in your second question. Could you be more specific?&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;An important thing to mention is that the preview UI is a bit different, because the page cannot be resized, meanwhile when you open the object's ui, you will see that the window is resizeable, and everything on it is mostly responsive, including the GDL page containing listfields and listitems (other GDL UIs are not, they have fixed dimensions).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZsuzsannaBori_0-1649163071451.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/20313i0E3C4E5D99675BC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZsuzsannaBori_0-1649163071451.png" alt="ZsuzsannaBori_0-1649163071451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hopefully, I answered most of your questions. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 12:55:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334702#M2765</guid>
      <dc:creator>Zsuzsanna Bori</dc:creator>
      <dc:date>2022-04-05T12:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: A little help with UI_LISTFIELD / UI_LISITEM</title>
      <link>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334704#M2766</link>
      <description>&lt;P&gt;His issue is clearly that the first column can't be read properly.&lt;/P&gt;&lt;P&gt;I have not tested it, but from the screenshot it does look like that the columns are not user resizable when the description and value header texts are empty strings.&lt;/P&gt;&lt;P&gt;Together with the very low overall size of the UI_LISTFIELD causes the first column to be unreadable (all params saying "test..." instead of something distinguishable).&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 13:37:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334704#M2766</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-04-05T13:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: A little help with UI_LISTFIELD / UI_LISITEM</title>
      <link>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334718#M2767</link>
      <description>&lt;P&gt;Thanks for you answer&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/20349"&gt;@Zsuzsanna Bori&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/640"&gt;@runxel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I forgot to show the code. Its a very simple, I only have 2 columns (Drawer, Height) with no icons. So, that being so narrow I thought "I dont need use all window width for that".&amp;nbsp;I used only half-window width (between 250 and 470), but in preview the second column does not appear, nor does the scroll bar. Please pay attention to height.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; UI_LISTFIELD 1, 250, 85, 200, 160, 0, "", ""&lt;BR /&gt;FOR n = 1 to drawQtd&lt;BR /&gt;ui_listitem n, 1, "drawHeight"+STR(n,1,0), 0, 0, "Drawer "+STR(n,1,0)&lt;BR /&gt;NEXT n&lt;/PRE&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="andrecarmo_4-1649172531289.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/20321iA08735CA5EA9CB13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrecarmo_4-1649172531289.png" alt="andrecarmo_4-1649172531289.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The preview&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="andrecarmo_3-1649172290078.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/20320i7AB6ED4D6DEB6D82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrecarmo_3-1649172290078.png" alt="andrecarmo_3-1649172290078.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now we can see both columns (the widths are wrong) and scroll bar, but the height is also different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway,&amp;nbsp;after a lot of attempts I understood that UI_LISTFIELD only works properly if you use all window width. Or, more than half-window at least.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 15:35:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334718#M2767</guid>
      <dc:creator>andrecarmo</dc:creator>
      <dc:date>2022-04-05T15:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: A little help with UI_LISTFIELD / UI_LISITEM</title>
      <link>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334725#M2768</link>
      <description>&lt;P&gt;Well, there is actually much more to this story!&lt;/P&gt;&lt;P&gt;See this comment from &lt;A href="https://community.graphisoft.com/t5/Developer-forum/UI-DIALOG/m-p/260623/highlight/true#M5554" target="_self"&gt;Péter Baksa&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;The UI_LISTFIELD control has a feature that it can grow automatically with the dialog size if it's right side is beyond 444. This limit hasn't changed, so it is not possible to create a listfield with its right side between 444-480.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You might have encountered this special behavior here, unbeknownst to you.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 16:44:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334725#M2768</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-04-05T16:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: A little help with UI_LISTFIELD / UI_LISITEM</title>
      <link>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334730#M2769</link>
      <description>&lt;P&gt;I think it is more complex than we believe&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/21865"&gt;@Runa&lt;/a&gt;&amp;nbsp;,&amp;nbsp;I moved the field to left and&amp;nbsp;I had the same problem.&lt;/P&gt;&lt;P&gt;After some tests I realized that the preview completely ignores any length over then 20 at right side. But its okay if everything is okay in the end.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrecarmo_0-1649178417649.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/20324iDE3E2ADC8B1A082B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrecarmo_0-1649178417649.png" alt="andrecarmo_0-1649178417649.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But at the result, the box &lt;SPAN&gt;fitted perfectly,&amp;nbsp;but still with the same column width problem. Even using the headers, you cannot resize the columns. This is very annoying.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andrecarmo_1-1649178825733.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/20325i0DAD173778ED023C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andrecarmo_1-1649178825733.png" alt="andrecarmo_1-1649178825733.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My conclusion is that no matter what field size you try, if it is smaller than the full width of the window, you will have an error &lt;span class="lia-unicode-emoji" title=":unamused_face:"&gt;😒&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 17:44:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/334730#M2769</guid>
      <dc:creator>andrecarmo</dc:creator>
      <dc:date>2022-04-05T17:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: A little help with UI_LISTFIELD / UI_LISITEM</title>
      <link>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/376212#M2770</link>
      <description>&lt;P&gt;The command has a fixed amount of white space to the right margin? What on earth is the point of that...&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 05:16:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/A-little-help-with-UI-LISTFIELD-UI-LISITEM/m-p/376212#M2770</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-04-11T05:16:48Z</dc:date>
    </item>
  </channel>
</rss>

