adrnsoh / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Clicking on components in palette replaces last element instead of append to tree #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an app with GUI Builder template
2. Click on the GUI 2 element, click on a component from the palette (don't 
drag and drop, just click).

What is the expected output? What do you see instead?
I was expecting the component to be appended to the tree, but instead the 
TextArea component is replaced with the clicked component.  Doing the same 
steps on the GUI 1 element does an append as I expected, possibly because the 
last element is a component group?

What version of the product are you using? On what operating system?
0.1 build 20120218 on Ubuntu 11.10

Original issue reported on code.google.com by 1815...@coolman.ca on 5 Mar 2012 at 12:54

GoogleCodeExporter commented 9 years ago
Thanks. The issue occurs when adding a component in this way to a border layout 
container. It now picks the available position and adds the component there.

Original comment by shai.almog on 6 Mar 2012 at 12:14

GoogleCodeExporter commented 9 years ago
Verified fixed in 0.1 build 2012-03-09, thanks!

Original comment by 1815...@coolman.ca on 9 Mar 2012 at 9:53