[codenameone-discussions] Re: Repaint dialog inconsistent

2017-01-18 Thread Jérémy MARQUER
Hi,

I can't take screenshot since it occurs during less a second ! I will take 
a video...

For informations : problem is dialog content pane become transparent when 
the drop occurs.

On Friday, December 23, 2016 at 6:38:57 AM UTC+1, Shai Almog wrote:
>
> Hi,
> I would not do that sort of thing in a dialog as dialogs are pretty 
> complex internally. Do you have a screenshot?
>

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/99cb7c2f-cdec-4869-b906-b80609b7da02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Repaint dialog inconsistent

2017-01-18 Thread Jérémy MARQUER
You can reproduce the problem with this (project with business theme) : 
>
>
> Dialog hi = new Dialog("Welcome");
> Label lblDraggable = new Label("DRAGGABLE");
> lblDraggable.setDraggable(true);
>
> Container cntSrc = new Container();
> cntSrc.setDropTarget(true);
> cntSrc.setUIID("ComboBox");
> cntSrc.add(lblDraggable);
> cntSrc.setPreferredH(200);
> Container cntTarget1 = new Container();
> cntTarget1.setDropTarget(true);
> cntTarget1.setUIID("ComboBox");
> cntTarget1.add(new Label("A label"));
>
> Component.setSameHeight(cntSrc, cntTarget1);
> hi.addComponent(BoxLayout.encloseY(cntSrc, cntTarget1));
> hi.getContentPane().setPreferredSize(new Dimension(800, 600));
> hi.show();
>
>
>

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/90e2f59c-fe93-4dbc-88e3-2ee9b0d9738b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Codescan cn1lib vs iOS build

2017-01-18 Thread Ivan
build hints:

codename1.arg.android.min_sdk_version=11
codename1.arg.ios.includePush=true
codename1.arg.ios.xcode_version=5.0
codename1.arg.ios.newStorageLocation=true
codename1.arg.ios.keyboardOpen=false
codename1.arg.build.incSources=1
codename1.arg.android.xpermissions=
codename1.arg.android.asyncPaint=true

iOS related settings:

codename1.ios.appid=*.sk.easysoft.maintplan
codename1.ios.debug.certificate=iosCerts/development_certificate.p12
codename1.ios.certificatePassword=
codename1.ios.debug.certificatePassword=*
codename1.ios.release.certificate=iosCerts/appstore_certificate.p12
codename1.ios.release.certificatePassword=**
codename1.ios.certificate=
codename1.ios.provision=
codename1.ios.debug.provision=iosCerts/development_provisioning_profile.mobileprovision
codename1.ios.release.provision=iosCerts/production_provisioning_profile.mobileprovision


-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/37935531-2878-421b-af30-8448c2cee973%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Can't seem to build for iOS

2017-01-18 Thread Shai Almog
It doesn't see the certificates. Again:
"Did you generate the certificates to a directory with spaces or special 
characters?
Try moving them to your project directory and see if that helps."

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/2e83c04d-c523-46ae-97d1-4da42043d65b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Repaint dialog inconsistent

2017-01-18 Thread Shai Almog
We're pretty flooded with issues and I don't even have someone to assign 
for this. 
You should file an issue with the test case but right now 3.7 is already 
full and things get scheduled for 3.8.

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/55bfc1d2-43e0-4922-86e8-7583276a0d34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Codescan cn1lib vs iOS build

2017-01-18 Thread Shai Almog
You are not sending an iphone_old build or something like that by any 
chance right?

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/48ebf452-d0f3-4e6a-adaf-aeb5ab05f2b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Can't seem to build for iOS

2017-01-18 Thread james . h
I did all that, no special characters, files in the correct directory. I 
solved the mystery. It was defaulting to enabling push. Even if I go to 
Codename One Settings and uncheck it and save, it wouldn't actually turn 
off push. I went in the properties file and set it to false, and now I can 
build again.

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/fc1ee0f1-98e5-4bda-aa37-84c5046130a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] using Painter

2017-01-18 Thread Bryan Buchanan
I'm using a Painter to display a validation hint, similar to the example in 
the API docs.

This is the code that actually paints the image:

private void paintMe(Graphics g, Component comp) {

int xpos = comp.getAbsoluteX();
int ypos = comp.getAbsoluteY();
float width = comp.getWidth();
xpos += Math.round(width);
xpos -= 28;
ypos -= 28;
g.drawImage(image, xpos, ypos);

}

Which works fine, as per the first screen shot. However, when I scroll up, 
the component is hidden by the heading component, but the glass pane 
doesn't know that. How can I figure out whether I should render the image ?

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/9941a69e-bc07-41ae-849a-fa278c022734%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Codescan cn1lib vs iOS build

2017-01-18 Thread Ivan Ilavsky
right, there is no other settings except these I've sent you
What should cause the compilation problem?

Dňa 19.1.2017 5:48 používateľ "Shai Almog"  napísal:

> You are not sending an iphone_old build or something like that by any
> chance right?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/codenameone-discussions/Tf7Oq9QNRRk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> codenameone-discussions+unsubscr...@googlegroups.com.
> 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/48ebf452-d0f3-4e6a-adaf-
> aeb5ab05f2b6%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
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/CA%2BysJ8z4PMjQ8i8aYfPdyC_j%2BF7FQNYk17yYjUba8Z26Mr2nxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.