adrnsoh / codenameone

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

Styles applied to wrong gui elements #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In Gui builder, add a new form
2. In properties of the form,set the UUID to MyUUID
3. Right click form, select 'Style', select 'Unselected'. 
4. Ensure component is 'MyUUID', uncheck 'Override' in the background tab, and 
change the colors or background image or something, then click OK.

What is the expected output? What do you see instead?

Expecting the new form to have the new style and no other forms.  Instead, 
initially the new form has that style, but then click on another existing gui 
form element, it will also have the new style.  Click back on the newly created 
form and it's style is no longer applied, but if you go back into the style 
editor, it is still correct.  The simulator also does not apply the style to 
either the new form, nor the existing one even though the editor shows the 
style applied to it.

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 3 Mar 2012 at 10:02

GoogleCodeExporter commented 9 years ago
Sorry, in step 4, I meant to type 'Derive' not 'Override'.

Original comment by 1815...@coolman.ca on 3 Mar 2012 at 10:03

GoogleCodeExporter commented 9 years ago
Yes I ran into that myself. Its a regression because of a feature which I added 
a while back to allow switching a theme from within the GUI builder. 
That's essentially not a good idea, I'm restoring the original behavior of 
always using the main theme encountered.

Original comment by shai.almog on 4 Mar 2012 at 7:41

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:46