This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
Hi everybody,
I'm using CQ5.5 and i have a problem with the size of components inside a dialog window.
This is an example to display my problem:
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:Dialog" xtype="dialog"> <items jcr:primaryType="cq:WidgetCollection"> <tabs jcr:primaryType="cq:TabPanel"> <items jcr:primaryType="cq:WidgetCollection"> <dialog_tab1 jcr:primaryType="cq:Panel" title="Everyday Banking"> <items jcr:primaryType="cq:WidgetCollection"> <messageFunc1 jcr:primaryType="cq:Widget" height="90" xtype="richtext"/> </items> </dialog_tab1> <dialog_tab2 jcr:primaryType="cq:Panel" title="Everyday Banking"> <items jcr:primaryType="cq:WidgetCollection"> <messageFunc1 jcr:primaryType="cq:Widget" height="90" xtype="richtext"/> </items> </dialog_tab2> </items> </tabs> </items> </jcr:root>
These 2 panels are exactly the same but the result is different:
[img]problem1.png[/img]
The first panel is correct and the second is 15px higher. Anyone have observe the same problem? In fact this is not a real problem but my final objective is to have 2 fields on the same row.
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:Dialog" xtype="dialog"> <items jcr:primaryType="cq:WidgetCollection"> <tabs jcr:primaryType="cq:TabPanel"> <items jcr:primaryType="cq:WidgetCollection"> <dialog_tab1 jcr:primaryType="cq:Panel" layout="column" title="Everyday Banking"> <items jcr:primaryType="cq:WidgetCollection"> <text jcr:primaryType="cq:Widget" xtype="textfield"/> <path jcr:primaryType="cq:Widget" xtype="pathfield"/> </items> </dialog_tab1> <dialog_tab2 jcr:primaryType="cq:Panel" layout="column" title="Everyday Banking"> <items jcr:primaryType="cq:WidgetCollection"> <text jcr:primaryType="cq:Widget" xtype="textfield"/> <path jcr:primaryType="cq:Widget" xtype="pathfield"/> </items> </dialog_tab2> </items> </tabs> </items> </jcr:root>
[img]problem2.png[/img]
The first panel works fine and the second has a serious problem of dimensions. I have tried to change the layout property to 'hbox' or 'table' but the result is the same. Anyone have a solution? Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Please try define a property hideMode with types as string and value equals to offsets at "<componentpath>/dialog/items/items/dialog_tab2".
Views
Replies
Total Likes
Please try define a property hideMode with types as string and value equals to offsets at "<componentpath>/dialog/items/items/dialog_tab2".
Views
Replies
Total Likes
I sent this to support to confirm if this is a known bug.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies