Default to user's preferred size, app can dock if desired. Since they already do...

This commit is contained in:
Nathan Gray 2013-11-29 21:26:35 +00:00
parent 8f4fd55313
commit 0f5cfe1949

View File

@ -184,6 +184,8 @@ var et2_split = et2_DOMWidget.extend([et2_IResizeable],
// Initialize splitter
this.div.splitter(options);
this.div.trigger('resize',[options.sizeTop || options.sizeLeft || 0]);
// Start docked?
if(options.dock)
{