Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Aran Deltac on Nov 11, 2008 08:01
open dhtmlx forum
dhtmlxLayout: 4T has bottom-padding in fullscreen mode

The "4T" layout, when in fullscreen mode (tied to document.body) has about a 10-pixel bottom-paddding. To demonstrate this all you need to do is take the example at:

http://dhtmlx.com/docs/products/dhtmlxLayout/samples/init/fullscreen_init/fullscreen_inner.html

And modify it to use 4T.

Also, an odd side affect of this is when I call hideHeader() on cell "d" (bottom-right) that cell uses up the padding and becomes 10 pixels taller than cells "b" and "c".
Answer posted by Support on Nov 11, 2008 08:32
It seems all ok on our side.
Could you please provide a live link or demo with an issue?
Answer posted on Nov 11, 2008 09:35
Hmm, right, seems my problem was my CSS.  I changed this:

/* infobar */
table.dhtmlxLayoutPolyContainer_dhx_blue td.dhtmlxLayoutSinglePoly div.dhtmlxPolyInfoBar {
    position: relative;
    font-size: 2px;
    height: 31px;
    height=33px;
    margin-bottom: 1px;
    overflow: hidden;
    border: #c8d9e9 1px solid;
    background-color: #bdd5e6;
}

So that the title of the cells aren't as tall (height reduced by 6 pixels):

/* infobar */
table.dhtmlxLayoutPolyContainer_dhx_blue td.dhtmlxLayoutSinglePoly div.dhtmlxPolyInfoBar {
    position: relative;
    font-size: 2px;
    height: 25px;
    height=27px;
    margin-bottom: 1px;
    overflow: hidden;
    border: #c8d9e9 1px solid;
    background-color: #bdd5e6;
}

Seems this breaks a whole bunch of things.  I've now tried a whole bunch of combinations of changes to the various heights that I can find to specify to no avail.  Any idea how I can change the height of the cell title without breaking the layout?
Answer posted by Support on Nov 12, 2008 02:50
dhxLayout.cells("a").setHeight(...);

here is a sample:
http://dhtmlx.com/docs/products/dhtmlxLayout/samples/conf/sizing.html?un=1226487131000


or what height do you mean?
Answer posted on Nov 12, 2008 05:50
I'm referring to the height of the header of the cell, not the entire cell itself.

The CSS I was trying to edit (which I pasted in my previous post, above) only applies to the header and seems the appropriate place to change the height of the header.
Answer posted by Support on Nov 14, 2008 05:57
Please tell us height you need and we'll make custom code for you.
(Also you can paint and attach an image).