<div dir="ltr">Hi Utkarsh,<div><div>Thanks for your quick reply. </div><div><br></div><div>I already created the property group (like the following) but the checkboxes are appearing vertically one below the other. I need to display those side by side.</div><div><br></div><div><span style="font-size:12.8px"><PropetyGroup label="foo" <font color="#0000ff">panel_visibility</font>="MyCustomWidget"></span><br style="font-size:12.8px"><span style="font-size:12.8px">   <Property name="CheckBox1" /></span><br style="font-size:12.8px"><span style="font-size:12.8px">   <Property name="CheckBox2" /></span><br style="font-size:12.8px"><span style="font-size:12.8px"></PropertyGroup></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I see that in your example, you have used </span><span style="font-size:12.8px"><font color="#0000ff">panel_widget</font> instead of </span><span style="color:rgb(0,0,255);font-size:12.8px">panel_visibility</span>. </div><div>Is this the trick to achieve what I am looking for?</div><div><br></div><div>Thanks again,</div><div>Chiranjib</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 14, 2017 at 7:51 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The only way currently is to create a custom widget. Create a custom<br>
property group widget and then grouping the two properties as follows:<br>
<br>
.....<br>
<PropetyGroup label="foo" panel_widget="MyCustomWidget"><br>
   <Property name="CheckBox1" /><br>
   <Property name="CheckBox2" /><br>
</PropertyGroup><br>
<span class=""><br>
<br>
<br>
On Thu, Sep 14, 2017 at 10:15 AM, Chiranjib Sur <<a href="mailto:sur.chiranjib@gmail.com">sur.chiranjib@gmail.com</a>> wrote:<br>
> Hi,<br>
> I am writing a XML plugin for paraview and I am adding boolean type GUI<br>
> parameters (appear as checkbox in the property panel) in the following way<br>
><br>
> <IntVectorProperty name="Checkbox 1"<br>
>                      command="setProperty1"<br>
>                      number_of_elements="1"<br>
>                      default_values="1"><br>
>     <BooleanDomain name="bool"/><br>
> </IntVectorProperty><br>
><br>
><br>
> <IntVectorProperty name="Checkbox 2"<br>
>                      command="setProperty2"<br>
>                      number_of_elements="1"<br>
>                      default_values="1"><br>
>     <BooleanDomain name="bool"/><br>
> </IntVectorProperty><br>
><br>
><br>
> They appear in the GUI like the following<br>
><br>
><br>
><br>
</span><span class="">> I want to align them side by side, so that they appear like this<br>
><br>
><br>
><br>
><br>
><br>
><br>
</span><span class="">> How do I do that?<br>
><br>
><br>
> Later using the pqServerManager proxy, I need to know what values are set<br>
> for the checkboxes.<br>
><br>
> Any expert clues?<br>
><br>
> Thanks in advance.<br>
> Chiranjib<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
</span>> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Search the list archives at:<br>
> <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
><br>
</blockquote></div><br></div>