I usually set RenderSize := False and RenderPosition := False to manually set align and position of my components using Style.
It works perfect with JQRegion but it fail with JQTabs.
To reproduce:
- Code: Select all
IWCGJQTabs1.StyleRenderOptions.RenderSize := False;
IWCGJQTabs1.Style.Values['width'] := '80%';
IWCGJQTabs1.Style.Values['height'] := '80%';
With firebug you can see that IWCGJQTabs1 have two height values, one that says 80% and another that have a fixed value.
- Code: Select all
<div id="IWCGJQTABS1" class="ui-tabs ui-widget ui-widget-content ui-corner-all" style="position: absolute; left: 0px; top: 0px; z-index: 100;padding: 0;width:80%;height:80%;height:328px;border-style:none;border-width:0px;padding:0;">
Also it would be nice that if IWCGJQTabs RenderSize = false, Tabs where created with RendesSize = False too and height and width = 100% instead of a fixed size.
Regards
Christian