added maxSize to w2layout.panel
Merge pull request #330 from negue/w2layout_maxSize

added maxSize to w2layout.panel