Page 1 of 1
Define Width of Autocomplete options list
Posted: Wed Aug 04, 2021 5:04 pm
by bluttman
Apparently the UI is calculating the pixel width for the options list which seems to cause unnecessary padding on the right. Anybody figured out a way to define a set width?
Re: Define Width of Autocomplete options list
Posted: Thu Aug 05, 2021 1:15 pm
by Scott Klement
The textbox widget has a property called "results template". This is an HTML string that is used to format what the results look like. If you leave this property unset, Profound UI will build its own template by calculating the width of the data it receives in the first autocomplete result, and building HTML that specifies the result box that has that width.
So, if you wanted to style it differently, you could use your own HTML code in the results template property.
Re: Define Width of Autocomplete options list
Posted: Fri Aug 27, 2021 6:01 am
by PeterRottach
Does the calculation still work? In our tests the width from "autocomplete-col" is always 100px no matter how many characters the first autocomplete result has. We tried to build our own template but we didnt manage to fill the result list with our data.
Re: Define Width of Autocomplete options list
Posted: Fri Aug 27, 2021 12:08 pm
by Scott Klement
If you're experiencing problems with Profound UI behaving incorrectly, please open a support ticket with Profound Logic Support. The easiest way to do that is to e-mail
support@profoundlogic.com.