thanks, will look forward to the update, for now I do:
protected void setStrings (Picker picker, String[] strs) {
picker.setStrings(strs);
String sLongest = "";
for (String s : strs)
if (s.length() > sLongest.length())
sLongest = s;
picker.setRenderingPrototype(sLongest);
}
On Monday, July 25, 2016 at 8:58:55 PM UTC-7, Shai Almog wrote:
>
> Just use a longer value than you are ever likely to have. FYI I've set a
> default prototype to the picker which makes sense so this should not behave
> like that in the coming update.
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/cef99092-21ed-450d-9be1-dd51ea571586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.