I have to design my CQ5 dialog as given in the following image. I have designed almost all the dialog but unable to add simple two labels side by side highlighted as red. Can someone please suggest how I can achieve it in dialog.xml ?
Asked
Active
Viewed 980 times
1

touseefkhan4pk
- 473
- 4
- 26
-
Hello touseefkhan4pk, Can you please help me with, How you have set the checkbox horizontally, will be help, Thanks – yash Aug 04 '23 at 11:06
1 Answers
1
There is label xtype from CQ Widget API with style property which you can use as follows:
<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"/>
You can change style according to your need.

Manisha Bano
- 1,853
- 2
- 22
- 34