简体   繁体   English

有人可以帮我解决此Picker错误

[英]can someone help me fix this Picker error

I am using Picker component is codename one, it was working properly before as shown in 1st screenshot, its showing the full string. 我正在使用代号为1的Picker组件,如第一个屏幕截图所示,它在正常工作之前,显示了完整的字符串。 But in 2nd screenshot, its not showing some alphabets. 但是在第二张屏幕截图中,它没有显示一些字母。

Screenshot 1: ! 屏幕截图1 :! https://imgur.com/m29K4f5 https://imgur.com/m29K4f5

Screenshot 2: ! 屏幕截图2 :! https://imgur.com/RWv0klM https://imgur.com/RWv0klM

Picker pcle = new Picker();
Accordion acle=new Accordion();
pcle.setType(Display.PICKER_TYPE_STRINGS);
pcle.setStrings(
"Picking up a trash",
"Cleaning up a beach     "+"10",
"Cleaning up a park     "+"10",
"Tidying up the table after eating in a restaurant.     "+"5",
"Joining a clean up operation     "+"20"
);
pcle.setSelectedString("Select a Deed from Bottom of Screen");
acle.addContent("Cleaning", pcle);

where 'pcle' is my Picker, 'acle' is my Accordion “ pcle”是我的选择器,“ acle”是我的手风琴

it is supposed to show whole string, but its not showing. 它应该显示整个字符串,但不显示。

This looks like a regression due to the fix made here: https://github.com/codenameone/CodenameOne/issues/2774 由于此处进行了修复,因此看起来像是回归: https : //github.com/codenameone/CodenameOne/issues/2774

I suggest commenting on the issue so it can be resolved by the upcoming Friday update. 我建议对此问题发表评论,以便可以在即将到来的星期五更新中解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM