PDA

View Full Version : [OPEN] [#94] HBox Window with Splitters Example - can right collapse tool be repositioned?



anup
May 11, 2012, 6:26 PM
Hi,

Looking at the useful example here:
http://examples2.ext.net/#/Layout/HBoxLayout/Split/

I notice that when you collapse the left panels the expand tool appears at the top. But when you close a right panel, the expand tool is at the bottom. Is there a way to control this? With Border Layouts, for example, this doesn't seem to happen. I tried to look for a tool position setting of some sort but could not see one in the documentation for the Ext.resizer.Splitter... Maybe it is just an existing limitation in Ext JS 4.1?

Vladimir
May 11, 2012, 8:04 PM
Confirm.

I see that problem is related with order of rendering title element and tool
I would consider it as a bug

As workaround, you can set CollapseDirection="Left" for Panel5

anup
May 11, 2012, 8:34 PM
Thanks for the reply.

I went ahead and reported a bug to Sencha. Let's see what they say I guess:
http://www.sencha.com/forum/showthread.php?204006-Splitter-Collapse-to-Right-puts-Collapse-Tool-in-wrong-place

Daniil
May 14, 2012, 8:05 AM
They have opened a bug. Thanks for reporting it!

Daniil
Dec 27, 2012, 5:47 AM
Opened an Issue to track this defect.
https://github.com/extnet/Ext.NET/issues/94