[codenameone-discussions] Re: com.codename1.ui.table.TableLayout (best practive to /Add delete a row dynamically)

2019-03-06 Thread Shai Almog
Those are callbacks that the layout class receives from the parent 
container. Don't call them, they won't do what you expect but can harm your 
layout.
You can remove a component by invoking component.remove() or 
container.remove(cmp);

-- 
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/978dfd2b-52c4-4445-9074-ec99ef41f975%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Tensile scrolling and how to get rid of it

2019-03-06 Thread Shai Almog
Hi,
I would suggest that you don't touch tensile scrolling. 99% of developers 
leave it as the default which means you would be venturing to an area we 
just don't test.
I'm guessing you saw that with a native widget like the web browser which 
handles its own scrolling. Placing it in the scrollable pane is probably 
why you have problems to begin with.

-- 
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/97cd1413-ef81-463c-b871-8d45b20ebb11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Which text editor properly displays the storage files created by the CodenameOne Simulator in linux?

2019-03-06 Thread Shai Almog
I just use cat in the console.

-- 
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/ced69bb8-1672-4bf6-9374-a91fad18044d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] com.codename1.ui.table.TableLayout (best practive to /Add delete a row dynamically)

2019-03-06 Thread shop . service . assistant
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, Android, IOS

I allow a user to add / delete rows of a table.

I have a TableLayout component with say 10 rows and 4 columns.

Best practice to delete the 4 columns from a row?

I see method "removeLayoutComponent(*Component* 
 comp)"
I could individually call this method on the 4 components that make up the 
row I want deleted.

Is there a recommended approach?

PS. I do see a "addLayoutComponent" method, however I do not grasp how I 
would add a row at a specific location.

Thoughts?

Regards

-- 
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/b1a60c23-f948-4bd7-9396-5728c54ae332%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Which text editor properly displays the storage files created by the CodenameOne Simulator in linux?

2019-03-06 Thread tommymogaka
Thanks Shai but actually, I mainly wanted to view instead of having to 
output in the console as a quick way to check if content, say a string, was 
written to persistent storage or filesystem in the simulator .cn1 folder.

I have edited, the same on Stackoverflow!

On Wednesday, March 6, 2019 at 7:00:41 AM UTC+3, Shai Almog wrote:
>
> See 
> https://stackoverflow.com/questions/55001708/which-text-editor-can-be-able-to-properly-display-the-storage-files-created-by-t/55015293
>

-- 
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/3b320a6e-8304-4478-81a9-a87417b7a7fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.