I think i found the answer
**I changed Float in lowercase float and h = 0f and v= 0f then it
worked**
float h = (float)c.getClientProperty(HORIZONTAL_ALIGNMENT);
if(h == 0f) {
h = 0f;
}
float v = (float)c.getClientProperty(VERTICAL_ALIGNMENT);
if(v ==0f) {
v = 0f;
}
Op vrijdag 15 november 2019 04:01:30 UTC+1 schreef Shai Almog:
>
> OK, assuming you're up to date with the latest cn1lib I suggest you file
> an issue. There might be a regression with anchor positioning.
> You can file an issue here:
> https://github.com/codenameone/CodenameOne/issues/
>
>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/77fe219b-c8b0-4cd4-8fc2-40dc0dcfcc3f%40googlegroups.com.