I recently updated my CN1 fork and the latest development version has a
rendering bug with some components.
I made a small video to show you the issue with a date picker:
https://streamable.com/w3wpm
At the right, this is the app runing with the latest CN1 dev version and at
the left, with the latest official CN1 release.
When spinning on the dev version, you can see that spinner labels dissapear
whereas this is not the case (normal behaviour) with the latest official
CN1 version. So this bug was introduced in one of the latest commits
(steeve recently made changes into the EDT, it is probably that).
The source of the form used in the test video is simply:
package org.mycompany.test;
import com.codename1.ui.Display;
import com.codename1.ui.Form;
import com.codename1.ui.layouts.BoxLayout;
import com.codename1.ui.spinner.Picker;
public class TestForm2 extends Form {
public TestForm2() {
setTitle("Test");
setLayout(BoxLayout.y());
Picker gui_birthdatePicker = new Picker();
gui_birthdatePicker.setName("birthdatePicker");
gui_birthdatePicker.setType(Display.PICKER_TYPE_DATE);
gui_birthdatePicker.setDate(null);
addComponent(gui_birthdatePicker);
}
}
Also, I found 2 other rendering bugs in CN1 (that affect both the latest
dev and the latest official CN1 release) but I openned a topic on github
for these.
--
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/407789d2-d368-483a-8104-44fbf456d274%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.