[codenameone-discussions] Re: Buttons not centered on a grid

2021-01-15 Thread Shai Almog
Hi, Try getAllStyles() instead of getStyle(). Never use getStyle() for these sort of things. On Saturday, January 16, 2021 at 6:29:06 AM UTC+2 rdvg...@gmail.com wrote: > Hi, > > As the image shows and included 6 buttons inside a container "Container > (new GridLayout (3, 2))". Buttons are

[codenameone-discussions] Re: Broken behavior on autocompletetextcompoment

2021-01-15 Thread Shai Almog
Is this only on Android or does it happen elsewhere? Is it still happening after this Friday update? On Saturday, January 16, 2021 at 2:56:11 AM UTC+2 ngosti2000 wrote: > Looks like there is a regression with autocomplete popup upon selecting an > item the cursor keeps jumping randomly on field

[codenameone-discussions] Re: RAD Chat Room Verify Error: ChatRoomView overrides final method AbstractEntityView.bind

2021-01-15 Thread Shai Almog
Thanks, we'll check. On Friday, January 15, 2021 at 11:11:05 PM UTC+2 davidwaf wrote: > Ok I got this to work. Manually replacing the cnlibs downloaded via the > Plugin with these https://github.com/shannah/RADChatRoom/tree/master/bin > did it. > It looks like the CN1plugin is still using

[codenameone-discussions] Re: String picker question

2021-01-15 Thread Shai Almog
Hi, do you have a stack trace? On which OS is this happening? Does it happen on the simulator? Is it possible one of the elements in the array is null? On Friday, January 15, 2021 at 7:31:12 PM UTC+2 hana@gmail.com wrote: > Hi, > > I noticed when I use *com.codename1.ui.spinner.Picker *for

[codenameone-discussions] Re: showBack() from Form to InteractionDialog

2021-01-15 Thread Shai Almog
Can you provide a screenshot and the way in which you used these APIs? On Friday, January 15, 2021 at 11:34:38 AM UTC+2 P5music wrote: > Those instructions did not succed in hiding the toolbar. > Also, if I click the "back" button in the second dialog (InteractionDialog > or CommandDialog, does

[codenameone-discussions] Buttons not centered on a grid

2021-01-15 Thread Rubén V
Hi, As the image shows and included 6 buttons inside a container "Container (new GridLayout (3, 2))". Buttons are created by a single method: private Button creaBoton(String texto, boolean activa) { String uiid = activa ? "Dialog" : "Dialog"; Button btBoton = new Button(texto, uiid);

[codenameone-discussions] Re: RAD Chat Room Verify Error: ChatRoomView overrides final method AbstractEntityView.bind

2021-01-15 Thread David Wafula
Ok I got this to work. Manually replacing the cnlibs downloaded via the Plugin with these https://github.com/shannah/RADChatRoom/tree/master/bin did it. It looks like the CN1plugin is still using 'older' versions? /dww On Fri, Jan 15, 2021 at 10:04 PM David Wafula wrote: > Hi, > > Am trying

[codenameone-discussions] RAD Chat Room Verify Error: ChatRoomView overrides final method AbstractEntityView.bind

2021-01-15 Thread David Wafula
Hi, Am trying to integrate the RAD Chatroom in my existing (Non-MVC) application. However, I get this error when I try to run the code below : java.lang.VerifyError: class com.codename1.rad.ui.chatroom.ChatRoomView overrides final method com.codename1.rad.ui.AbstractEntityView.bind()V at

[codenameone-discussions] String picker question

2021-01-15 Thread Hannah R
Hi, I noticed when I use *com.codename1.ui.spinner.Picker *for type *PICKER_TYPE_STRINGS, *if I set Strings as not a hardcoded Strings but as String[ ], I get *java.lang.NullPointerException *while spinning the Picker. I get it only if I also do setSelectedString(). If there is a

[codenameone-discussions] Re: showBack() from Form to InteractionDialog

2021-01-15 Thread 'P5music' via CodenameOne Discussions
Those instructions did not succed in hiding the toolbar. Also, if I click the "back" button in the second dialog (InteractionDialog or CommandDialog, does not make any difference) it is disposed, but I do not see the first dialog anymore (CommandDialog). Regards Il giorno venerdì 15 gennaio