PDA

View Full Version : [CLOSED] Resize Handles doesn't seem to be working



Kev
Dec 18, 2013, 12:22 PM
Hi,

I have a viewport with a North/East/Center setup.

Inside the the Center panel is two panels where one can be resizeable. However I only want this panel to be resizeable with a 'North' handle but the 'ResizeHandles' property doesn't seem to work. It still lets me resize with any handle [n,s,e,w, etc...].

Quick example of the center panel:



<ext:Panel runat="server" Region="Center">
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Stretch" />
</LayoutConfig>
<Items>
<ext:Panel ID="pnlPractices" runat="server" Title="Practices" Collapsible="false" BodyPadding="10" AutoScroll="true" Flex="1">
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Stretch" />
</LayoutConfig>
<Items>
</Items>
</ext:Panel>
<ext:Panel ID="pnlTickets" runat="server" Title="Support Tickets" Border="false" BodyPadding="10" Height="435" AutoScroll="true" Collapsible="true" Resizable="true" ResizeHandles="North">
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Stretch" />
</LayoutConfig>
<Items>
<ext:UserControlLoader runat="server">
<Items>
<bluebay:Tickets runat="server" ID="controlTickets" />
</Items>
</ext:UserControlLoader>
</Items>
<Listeners>
<Resize Handler="StorePanelSize('tickets', this.height);" />
<AfterLayout Handler="if (this.height == 0) { this.height = 435; this.collapse(); }" />
</Listeners>
</ext:Panel>
</Items>
</ext:Panel>


I've tried removing the objects from the js resizer object and also tried setting the ResizeHandles property from server side but no luck.

Any help would be appreciated.

Thanks

Kev

Daniil
Dec 18, 2013, 3:31 PM
Hi Kev,

Thank you for the report. We are investigating.

For now, please use

XResizeHandles="n"
instead of

ResizeHandles="North"

Kev
Dec 18, 2013, 3:42 PM
No luck with that either Daniil.

Guess I'll just wait for the outcome of the investigation. Not an end of the world problem for now anyway.

Cheers

Kev

Daniil
Dec 19, 2013, 4:57 AM
Please provide us with a full test case where this is not working.

XResizeHandles="n"

After updating from the trunk you can turn back to the ResizeHandles property.

Kev
Dec 19, 2013, 9:31 AM
The code above I provided with


XResizeHandles="n"

replacing ResizeHandlers is where it went wrong.

I shall update from the trunk and try again.

Thanks

Kev
Dec 19, 2013, 9:55 AM
Thanks Daniil, the latest build fixed the ResizeHandles issue I was having.