cheerq / flexmdi

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

horizontalCenter&verticalCenter #68

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
                Window.width = 350;
                Window.height = 500;
                Window.title = "Window " + String
(mdiCanvas.windowManager.windowList.length + 1);
                Window.resizable=true;
                Window.mouseEnabled=false;
                Window.addChild(Module);
                Window.titleIcon=showIcon;

Window.horizontalCenter=Window.verticalCenter="0"

is error

Original issue reported on code.google.com by phpr...@gmail.com on 4 Sep 2008 at 6:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
src\flexmdi\managers\MDIManager.as

Bug:
747   public function center(window:MDIWindow):void
      {
    window.x = this.container.width / 2 - window.width;
    window.y = this.container.height / 2 - window.height;
751   }

    public function center(window:MDIWindow):void
    {
        window.x = (this.container.width - window.width)/ 2;
        window.y = (this.container.height  - window.height)/ 2;
    }

Original comment by phpr...@gmail.com on 4 Sep 2008 at 7:52

GoogleCodeExporter commented 8 years ago
Please give me a new flexmdi.swc.Thank you very much

Original comment by phpr...@gmail.com on 4 Sep 2008 at 7:53