[codenameone-discussions] Re: How to make pull to refresh work?

2016-11-10 Thread Shai Almog
Pull to refresh will only work on a scrollable container. Do you have a standard layout in the content pane? -- 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

[codenameone-discussions] Re: Change icon in a toolbar

2016-11-10 Thread Shai Almog
Hi, check out the properties cross favorite star icon which is replaced dynamically. The gist of it is that we use findCommand() to locate the button representing the command and change the icon there. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: Unstylable gaps on left side menu

2016-11-10 Thread Shai Almog
I'm assuming you used the background as a scaled to fit instead of scale to fill. -- 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] Re: Long press on container list

2016-11-10 Thread Shai Almog
We deprecated ContainerList a while back, it never supported long press anyway. -- 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] Re: Windows UWP navigation

2016-11-10 Thread Shai Almog
For consistency with back navigation I suggest using the Toolbar and setBackCommand on the Toolbar itself so it will exist in all platforms. The hardware button should map that's probably an issue Steve can address. -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] Re: tab order

2016-11-10 Thread Shai Almog
See this: http://stackoverflow.com/questions/40425717/codename-one-set-next-texfield-to-be-focused -- 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] Re: searchbar events

2016-11-10 Thread Shai Almog
We don't offer those. If you want more control check out the javadocs for the toolbar on how to implement this manually. -- 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

[codenameone-discussions] Re: Is there a way to add a textfield to the command bar?

2016-11-10 Thread Shai Almog
If you want more control over this functionality check out the javadocs for toolbar where there is a sample of implementing this manually. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Re: How to track the current duration of media (audio only)

2016-11-10 Thread Shai Almog
Use a UITimer. -- 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

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

2016-11-10 Thread Shai Almog
I'll need some way to reproduce this... -- 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

[codenameone-discussions] How to make pull to refresh work?

2016-11-10 Thread Gareth Murfin
f.getContentPane().addPullToRefresh(new Runnable() { public void run() { _("PULLED."); String count = " " + f.getContentPane().getComponentCount(); f.addComponent(0, new Button("Button " + count)); f.invalidate(); } }); this

[codenameone-discussions] Change icon in a toolbar

2016-11-10 Thread ruben_vg via CodenameOne Discussions
Hi, I need to know how to change the icon of a command inside a toolbar. My code is: final Toolbar tbMenu = new Toolbar(); fmLista2.setToolBar(tbMenu); s = UIManager.getInstance().getComponentStyle("Toolbar"); final FontImage iAdicion =

[codenameone-discussions] Re: Codename One en español.

2016-11-10 Thread ruben_vg via CodenameOne Discussions
Hola, No programo en tiempo completo y me falta experienca en Codename One, pero me gusta la idea. Como hacemos para que esto camine? Saludos Rubén On Wednesday, November 2, 2016 at 9:21:12 PM UTC-5, romanca...@gmail.com wrote: > > Hola! > > Leyendo post en esta seccion he visto que quizas

[codenameone-discussions] Long press on container list

2016-11-10 Thread ruben_vg via CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device Hi, I can not make it work. My code: private Container creaContenedorLista1(Lista1 lR1) { Label lbImagen = new Label(); Button

[codenameone-discussions] tab order

2016-11-10 Thread howudodat1
Is there a way to set the tab order? Is it possible to jump a control uwing the "next" on the ios keyboard? I have a list of textfields (LastName, FirstName, Age) then a Picker (Gender), then more textfields (email, phone, ...) When the user taps in LastName they can hit next and it moves to

[codenameone-discussions] Re: Is there a way to add a textfield to the command bar?

2016-11-10 Thread howudodat1
This is a nice feature and I will use it. I have three questions: 1. How can I know if the enter key or search key was pressed? I dont want to process every single change...remember this is going to be sending requests off to google to plot on the map 2. After the user presses enter/search

[codenameone-discussions] Re: How to track the current duration of media (audio only)

2016-11-10 Thread CODENAME1
HOw to update this value continously as the media is playing. I am able to update once, when play button is clicked. findMediaSlider(c.getComponentForm()).setProgress(mp.getTime()); On Thursday, November 10, 2016 at 5:45:24 AM UTC+1, Shai Almog wrote: > > Media.getTime(). -- You received this