cheerq / flexmdi

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

backgroundAlpha definition in MDIManager interferes with the MDIWindow style definition #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set 2 styles for the Focus and NoFocus of the MDIWindow. In these 2
styles set the backgroundAlpha property to “1” in the Focus and “0.2” in
the NoFocus style.
2. Test the window Focus and NoFocus style without minimising it.
3. Minimise one Window and restore it again.
4. Test the window Focus and NoFocus style again.

What is the expected output? What do you see instead?
The application should respect the user Style definition, but instead, when
the user restores a window the backgroundAlpha is set o “1”.

Please provide any additional information below.
The problem occurs because the MDIManager is forcing the backgroundAlpha
property in the “windowEventProxy” and “onMinimizeEffectEnd” functions.
I’ve commented these lines in the MDIManager code and tested it with success.

Thanks

Original issue reported on code.google.com by nelson.b...@gmail.com on 20 Sep 2007 at 3:50

GoogleCodeExporter commented 8 years ago

Original comment by ben.clin...@gmail.com on 20 Sep 2007 at 9:59

GoogleCodeExporter commented 8 years ago

Original comment by ben.clin...@gmail.com on 20 Sep 2007 at 10:00

GoogleCodeExporter commented 8 years ago
I added functionality to saveStyles() on minimize and restoreStyles() on 
maximize and
restore. code changes can be found in the MDIWindow and MDIManager classes.

In effect, if you set a style on the class, it will be restored when the window 
is
viewable.

Original comment by brian.jo...@gmail.com on 21 Sep 2007 at 5:03