Alpha 2 FitToForm Bug - Ext JS

Maybe its just me

I was using fittoform to make a DIV tag in my case a menu which is a replica of the Docs menu shape itself to the ContentPanel. This was done so when scrolling the horizontal scroll bar appears at the botton instead of the middle of the div.

Apparently Safari doesn't like this and immediately crashes out. I'll probably end up forcing a vertical only scroll bar if I can't come up with a fix
Reply With Quote
  # 2  
Old 03-03-2007, 04:14 PM
Default

Youa re going to have to provide more details (fitToFrame?). I have tons of layouts running in safari with all using fitToFrame with no problem.
Reply With Quote
  # 3  
Old 03-05-2007, 11:09 AM
Default

Quote:
Originally Posted by jacksloc
Youa re going to have to provide more details (fitToFrame?). I have tons of layouts running in safari with all using fitToFrame with no problem.
Certainly,

The crashing only seems to happen when using FitToFrame on a Div instead of an Iframe. I think it has something to do with my left hand navigation becuase in raw format its much taller than the layout section where the menu is, which is a tree menu exactly like in your Documentation.

I wish i didn't have to pull off our graphic artists off a mac to test this. Maybe I can track this down further. In any case this is low priority for me.
Reply With Quote
  # 4  
Old 03-05-2007, 11:21 AM
Default

Don't set fitToFrame on the ContentPanel.

Instead, set autoScroll:true on the Region into which the ContentPanel is added.
Reply With Quote
  # 5  
Old 03-05-2007, 12:38 PM
Default

Quote:
Originally Posted by Animal
Don't set fitToFrame on the ContentPanel.

Instead, set autoScroll:true on the Region into which the ContentPanel is added.
:lol: Of course I did that Animal.

The reason I tried fittoframe was I noticed my scroll bars for firefox at least were appearing horizontally somewhere in the middle of the contentpanel depending how tall my collasped menu was at the time. Its not something I'm truelly worried about.
Reply With Quote
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值