<?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: ComboBox dropdown resizing issue with lengthy values in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/914921#M107517</link>
    <description>&lt;P&gt;Truncating the data would be costly since the data is in the thousands.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Nov 2025 09:58:47 GMT</pubDate>
    <dc:creator>OddsDeer284888</dc:creator>
    <dc:date>2025-11-24T09:58:47Z</dc:date>
    <item>
      <title>ComboBox dropdown resizing issue with lengthy values</title>
      <link>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/914858#M107506</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&lt;!--StartFragment --&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I’m running into an issue with the &lt;STRONG&gt;ComboBox&lt;/STRONG&gt; in JMP. The dropdown width is automatically adjusted based on the longest value in the list. Since I’m loading data from a database, most values are short, but a few are very lengthy. When those long values are included, the entire dropdown becomes excessively wide.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I haven’t been able to find any documentation on how to control or fix the dropdown size. Is there a way to set a maximum width or otherwise prevent the ComboBox from expanding too much when one value is lengthy?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&lt;!--EndFragment --&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&lt;BR /&gt;// Example ComboBox with mixed-length values
New Window( "ComboBox Size Issue",
    &amp;lt;&amp;lt;Background Color( "white" ),
    V List Box(
        Text Box( "Select an option:" ),
        Combo Box(
            {"Cat", "Dog", "Bird", "Elephant", 
             "ThisIsASingleVeryVeryVeryLongValueThatMakesTheDropdownTooWide aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaabbbbbbb"},
            &amp;lt;&amp;lt;Set Function( Function( {this}, 
                Show( this &amp;lt;&amp;lt; Get Selected ) 
            ))
        )
    )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 23 Nov 2025 23:01:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/914858#M107506</guid>
      <dc:creator>OddsDeer284888</dc:creator>
      <dc:date>2025-11-23T23:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox dropdown resizing issue with lengthy values</title>
      <link>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/914894#M107510</link>
      <description>&lt;P&gt;I'm not sure if you can force the max size of combo box so you would have to first shorten those values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 05:18:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/914894#M107510</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-24T05:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox dropdown resizing issue with lengthy values</title>
      <link>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/914921#M107517</link>
      <description>&lt;P&gt;Truncating the data would be costly since the data is in the thousands.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 09:58:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/914921#M107517</guid>
      <dc:creator>OddsDeer284888</dc:creator>
      <dc:date>2025-11-24T09:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox dropdown resizing issue with lengthy values</title>
      <link>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/914922#M107518</link>
      <description>&lt;P&gt;Have you tried how costly it would be if you do it in JMP either with Transform Each() or with formula column/transform column only on unique values?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 10:02:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/914922#M107518</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-24T10:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: ComboBox dropdown resizing issue with lengthy values</title>
      <link>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/915264#M107558</link>
      <description>&lt;P&gt;You can "force" Combo Box width at least with Lineup Ruler Box + Lineup Box&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

nw = New Window("",
	Lineup Ruler Box(
		Widths({100}),
		Lineup Box(N Col(1),
			Combo Box({"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"})
		)
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1764089807743.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87701iE648E3B138A22C1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1764089807743.png" alt="jthi_0-1764089807743.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 17:01:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/ComboBox-dropdown-resizing-issue-with-lengthy-values/m-p/915264#M107558</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-25T17:01:01Z</dc:date>
    </item>
  </channel>
</rss>

