cdotyone / mochaui

development tree for MochaUI
http://mochaui.org/demo/
Other
290 stars 83 forks source link

Bottom dock bar problem #76

Closed flmn closed 13 years ago

flmn commented 13 years ago

In mochaui demo, at end of initializeWindows function, these is a line:MUI.parametricsWindow();

This line of code open a para metrics window when web page loaded.

But, if we don't open any window at startup, the dock bar will overlap panels above it. When we collapse left bottom panel, the panel header will go behind dock bar.

Besides open a window at startup, turn dock bar auto hide on and off can make dock bar works as normal.

cdotyone commented 13 years ago

in /Source/Core/Desktop.js

change line 59 from

if (!this.dock) this.setDesktopSize();

to: this.setDesktopSize();

I still need to track down why two calls to desktop size are needed, but not important enough to hold up for now.

flmn commented 13 years ago

I add this line "MUI.desktop.setDesktopSize();" after "MUI.Desktop.initialize();", it works.

Waiting for a to solve this problem.

cdotyone commented 13 years ago

This appears to be working in the current 1.0 develop branch.