来自CQ Widget API的标签xtype具有样式属性,您可以使用如下:
<label_1
jcr:primaryType="cq:Widget"
style="width: 50%;display: inline;margin-left: 100px;font-weight: 600;"
text="Use as default filter"
xtype="label"/>
<label_2
jcr:primaryType="cq:Widget"
style="width: 50%;display: inline;margin-left: 40px;font-weight: 600;"
text="Show Advanced Options"
xtype="label"/>
您可以根据需要改变风格。