【发布时间】:2015-07-09 12:38:38
【问题描述】:
我需要增加触摸 ui 对话框 cq5 的长度和宽度。我有多个标签不适合小尺寸的对话框,因此对齐被破坏了。
【问题讨论】:
标签: user-interface dialog touch adobe aem
我需要增加触摸 ui 对话框 cq5 的长度和宽度。我有多个标签不适合小尺寸的对话框,因此对齐被破坏了。
【问题讨论】:
标签: user-interface dialog touch adobe aem
您可以在 _cq_dialog.xml 中添加“宽度”参数
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="nt:unstructured"
jcr:title="My title"
width="{Long}650"
sling:resourceType="cq/gui/components/authoring/dialog">
【讨论】:
【讨论】:
cq:height和cq:width吗?或者只是height 和width?