I have a tab control inside a ribbon control which creates a layout that looks like MS Word.
When I place a dhtmlxForm inside the content area of the tab, it appears perfectly.
When I place a dhtmlxLayout or a dhtmlxTabbar inside the content area of a tab, it is invisible and the height and width are set to 0px. Obviously, either the ribbon control or the tab control are causing the issue with some inherited css, but I have not been able to figure out what it is. Do you have any idea what might cause this? I was hoping you could tell me what dhtmlxLayout uses to determine the height and width it sets in dhxcont_global_layout_area.
I have set the min-height, height and width of the outer bounding div to 100% both via style and class (even using !important), but it makes no difference. You can see below what I am talking about.
I finally found what caused the layout to be dimensioned to 0.
The div to which I attach the Layout has an ancestor which initially has its style set to “display:none;” and thus possibly inherit the style when it’s created.
The problem I faced came from the same issue. In my case, I had forms inside tabs inside a layout inside a tab control from another vendor that allows tabs on the side with left to right text orientation which is why I did not use dhtmlx tabs for that. Their control used display: none to hide the control which triggered the issue in all the dhtmlx controls that were inside the other vendors tab control. Because of the sequence, I had to fix the widths with some javascript code that ran later, but it would be great if the display: none was not inherited.