Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK 4.1 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. compile and run test app
2. click "create rtl window" and "create ltr window" button
->two windows show up with rtl and ltr layout.
3. click "window level: stylename==>ltr" and ""window level: stylename==>rtl" button, it is supposed to set layoutDirection for the windows created at step 2.
->elements inside windows only has colors style applied, but no layoutDirection/direction.
4. click "application level: stylename==>ltr" and ""application level: stylename==>rtl"
->elements are moved based on layout.
so it seems style defined inside <fx:Style>, like this:
.testStyleName
{
layoutDirection:"ltr";
direction:"ltr";
}
doesn't work for window.
Expected Results:
styleName should work for window for above cases.
Workaround (if any):
use setStyle() instead.