[codenameone-discussions] Re: How to vary font size based on device sizes and resolution?

2020-06-26 Thread Shai Almog
Search for the word TTF here: https://www.codenameone.com/manual/css.html

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/9fb13e88-5f66-4c7c-a439-e3f4ca05badco%40googlegroups.com.


[codenameone-discussions] Re: ios builds failing again?

2020-06-26 Thread Shai Almog
We're currently reworking the flow/interaction of the certificate wizard 
from the ground up. I agree it's pretty complicated and error prone. 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/98ed4235-982b-4b2e-9804-e11507e9e1d5o%40googlegroups.com.


[codenameone-discussions] Re: wkWebview Navigator Hangs on a simple page on IOS13

2020-06-26 Thread Shai Almog
I discussed this here: 
https://stackoverflow.com/questions/62598097/wkwebview-navigator-hangs-on-a-simple-page-on-ios13

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/48780d22-4935-4696-a82b-6d6aeffe4bdbo%40googlegroups.com.


[codenameone-discussions] Re: Debugging not possible - error

2020-06-26 Thread Shai Almog
Did the new update solve that problem?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/821e8223-d883-4410-a106-8287ceea3158o%40googlegroups.com.


[codenameone-discussions] Re: Almost every run creates a new simulator instance

2020-06-26 Thread Shai Almog
Re-running within the same simulator skin won't provide any performance 
benefit as the simulator loads instantly. It also can't be done as those 
are separate processes (our simulator is self contained). It isn't hard to 
press the X to close the button on an existing simulator instance or the 
stop button in intellij.

Adding something like this would mean every simulator instance will have a 
lock file to detect a running simulator and would need to monitor it for a 
kill instruction by a new simulator instance... That's a lot of overhead 
for something that doesn't seem to provide too much benefit. Am I missing 
something? 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/d4452293-7e0e-4f53-9f9f-299c6e9b6935o%40googlegroups.com.


[codenameone-discussions] Any freelancer that want to custom a mobile app in codenameone?

2020-06-26 Thread Duran k
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator 
Device

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/55513976-0fc9-41d4-a60a-56c2f6b8cfeeo%40googlegroups.com.


[codenameone-discussions] Re: How to vary font size based on device sizes and resolution?

2020-06-26 Thread Benjamin Tumwesigye
How about me who uses CSS, Is it possible to achieve it.
Please I would like to get help about it

On Monday, June 2, 2014 at 4:57:22 PM UTC+3, Chen Fishbein wrote:
>
> Hi,
> In your theme you can set the Font for each style id, define your own uuid 
> "MyText" and edit the font.
> You can use system fonts which has 3 generic sizes small, normal and 
> large, it will automatically scales the size according to the device DPI.
> You can also use TTF and define the size with millimeters, which will keep 
> the size proportional according to the device DPI.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b47b667e-3825-4d38-b7bf-5ef174508d06o%40googlegroups.com.


[codenameone-discussions] Re: How to vary font size based on device sizes and resolution?

2020-06-26 Thread Benjamin Tumwesigye
how about when am using CSS for my styles


On Monday, June 2, 2014 at 1:12:40 PM UTC+3, shas...@urbandrive.in wrote:
>
> Hi Folks,
>
> Here is my requirement:
>
> I need to display a verbose text inside a list element on the main page of 
> my app for which I am using a TextArea. Now my list is rendered using a 
> renderer defined in the GUI and Text Area is part of the renderer. The font 
> size of this text displayed inside the text area has to vary based on the 
> device size so that on larger devices the font is large and on smaller 
> devices it is small.
> For example I want 
> small font size for device height < 500
> medium font size for device height > 500 & height < 2000
> large font size for device height > 2000
>
> Things that I tried to accomplish this
> 1. Have a hard coded renderer which defines the font size 
> programmatically. This soln works but gets complicated as my main list size 
> increases and also there is complex code to be executed on clicking the 
> list item.
>
> 2. Stick to the GUI based renderer and try to access the TextArea inside 
> the code and dynamically change its font size.  This soln didnt work for me 
> because  I wasn't able to access 
> the TextArea defined in the GUI renderer inside my code. I tried to access 
> the same inside the beforeShow, onCreate functions of the renderer but it 
> is always null. 
>
> 3. Set the font size for the "ContentPane" UUID at the global level so 
> that any component that used the "ContentPane" UUID will have its font size 
> set dynamically.  Not sure how this can be done. 
>
> Please  guide me on how to proceed here. Also,  it might be a dumb 
> question, but I am not sure what is the relationship between say font size 
> for a particular theme and the device size and resolution. How does one 
> reconcile the two to have a consistent viewing experience across devices.
>
> Thanks,
> Shashank
>
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/24a0844f-0ec2-40dd-b9fd-9f0fa1419168o%40googlegroups.com.


[codenameone-discussions] Re: ios builds failing again?

2020-06-26 Thread Dave Dyer

I succeeded in making new builds after re-running the certificate wizard 
and 
answering "yes" to all the "generate new" and "override existing" questions.

IMO something is broken if I can run through a lengthy interaction with the
certificate wizard, have no apparent errors, and still generate 
certificates that
do not work and can't be used to make builds. .. but that's exactly what I 
did.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e9298143-0ceb-4dc2-aedb-607575da0f49o%40googlegroups.com.


[codenameone-discussions] Re: Debugging not possible - error

2020-06-26 Thread 'Angelo Maci' via CodenameOne Discussions
It's OpenJDK 11, thanks.

Il giorno venerdì 26 giugno 2020 04:48:16 UTC+2, Shai Almog ha scritto:
>
> We're pushing out a new version of the IntelliJ plugin today. It should 
> resolve that issue (hopefully).
> Which JDK are you using? 
> Notice we only support JDK 11 or Oracle JDK 8/ZuluFX 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/3512cc74-c4db-43ac-bdd1-54681fa49b5ao%40googlegroups.com.


[codenameone-discussions] Re: Almost every run creates a new simulator instance

2020-06-26 Thread 'Angelo Maci' via CodenameOne Discussions
Hello, I hope that in the future that can be made optional because those 
needs I am not encountering them as for now and just it keeps filling my 
system with instances.
Thanks, regards

Il giorno venerdì 26 giugno 2020 04:42:32 UTC+2, Shai Almog ha scritto:
>
> This is intentional. Simulator loads instantly so you just close/open it 
> unlike Android which takes forever.
> You can also debug things side by side e.g. make a change run the 
> simulator again and hold the simulators one next to another to compare 
> behavior. You can also debug networking apps more conveniently this way.
>
> This exception is related to JavaFX which is a bag of troubles and pain. 
> We've started on the long process to dump that disaster: 
> https://www.codenameone.com/blog/moving-away-from-fx.html
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a17ee6d5-171d-43ca-9f51-717f9a49485do%40googlegroups.com.


[codenameone-discussions] Re: ios builds failing again?

2020-06-26 Thread Dave Dyer


On Friday, June 26, 2020 at 12:00:03 AM UTC-7, Dave Dyer wrote:
>
> All the certificates and links to them in the preferences file
> seem to be correct, and all the certificates have today's date.
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c02d1164-48c6-41e0-b7cf-04407cd75db5o%40googlegroups.com.


[codenameone-discussions] Re: ios builds failing again?

2020-06-26 Thread Dave Dyer
All the certificates and links to them in the preferences file
seem to be correct, and all the certificates have today's date.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b0587e74-05ff-44da-9091-bd151e425a95o%40googlegroups.com.


[codenameone-discussions] Re: ios builds failing again?

2020-06-26 Thread Dave Dyer
I think I had manually relocated the old certs to a place in my dev source 
tree, but
I didn’t redo the relocation after making new certs. I left everything 
exact as the
Wizard created it.

On Thursday, June 25, 2020 at 7:50:59 PM UTC-7, Shai Almog wrote:
>
> It seems your certificate is missing from the build. Did something change 
> in your paths?
> Did your certificate expire?
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/3df175a3-60e5-4357-be41-11bb6495f19ao%40googlegroups.com.


[codenameone-discussions] Re: ios builds failing again?

2020-06-26 Thread Dave Dyer
Expired,  but I ran through the certificate wizard successfully.

On Thursday, June 25, 2020 at 7:50:59 PM UTC-7, Shai Almog wrote:
>
> It seems your certificate is missing from the build. Did something change 
> in your paths?
> Did your certificate expire?
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/452c4fc7-d6b7-4dbe-8d54-9760f03c68dbo%40googlegroups.com.