Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Volker on Aug 05, 2009 23:47
open dhtmlx forum
dhtmlxLayout: Splitter thickness and missing statusbar in Firefox

When I load the Example "Attach dhtmlxGrid to Layout" (http://dhtmlx.com/docs/products/dhtmlxLayout/samples/components/grid.html?un=1249540780000) or "Attach StatusBar to Layout" (http://dhtmlx.com/docs/products/dhtmlxLayout/samples/components/status.html?un=1249540652000) in Firefox, the thickness of the resize bar (splitter bar) is much thicker than in Chrome, IE or Opera. An in the second example, the status bar is missing in FF.

I've tried it with Firefox 3.5.1

Thank you for assistance!

Answer posted by Alex (support) on Aug 06, 2009 04:03

Hello, 

we have tested these samples in the FireFox 3.5.2 - the issues don't appear in it (screenshot is attached). 

Attachments (1)
Answer posted by Volker on Aug 06, 2009 06:32
I have updated both current FF, but the same result. screenshots also attached.

After that, I tried it on a Virtual Machine. And what a pitty ;-) there is everything allright.


Attachments (1)
Answer posted by Alex (support) on Aug 06, 2009 07:07

The issue isn't recreated locally. We have tried different FireFox browsers - everything is ok.

Possibly some add-ons cause this issue. We don't know... Nobody complain about this issue before.

Attachments (1)
screen.png231.55 Kb
Answer posted by Volker on Aug 08, 2009 22:34
Ok, we can close this thread, but without a solution. I have disabled all AddOns, but nothing happend, same behavior. I found here in another thread the same issue. I follow this tip as last chance. 

Thank you for your efforts.


 
Answer posted by Michael on Sep 30, 2009 10:52
We had the same problem and have a fix:

1.) Close all Firefox-Instances; then start in Safe-Mode (right click icon in Start-Menu).
2.) Check the fourth checkbox in the dialog that comes up (reset user-settings).

The size of the splitter will be ok from there on, even if starting Firefox in normal mode.
Maybe some addon (Webdeveloper or Firebug?) had this side effect.

HTH Michael

 
Answer posted by Dan Obregon on Jan 14, 2010 09:46
I had this problem too in Firefox 2.x and 3.x as well as in IE.

Using Firebug, I noticed that the class "dhtmlxLayoutPolySplitterHor" was ignoring the style settings for height (should be 5px).

As it turns out, the way this is rendered/expanded is

If there is text in a cell and the font setting is bigger than the space allocated, the browser adjusts the cell height to allow for the text to fit.
So, you end up with a horizontal splitter that is about 100px tall.  The solution is to set the content of any cells with this class to be empty.

I use jQuery, so accomplishing this is very easy:
$(".dhtmlxLayoutPolySplitterHor").html("");

Without jQuery, it's a little more javascript, but still doable:
var arrCells = document.getElementsByTagName('td');
for ( var i=0; i<arrCells.length; i++) {
  if ( arrCells[i].className != "dhtmlxLayoutPolySplitterHor") {
     continue;
  } else {
    arrCells[i].innerHTML="";
  }
}