It sounds like a great addition. Feel free to submit a patch !<div>You might want to investigate to see if ctkFlowLayout could help changing the orientation dynamically.</div><div>j.<br><br><div class="gmail_quote">On Thu, Aug 23, 2012 at 10:46 AM, Paul Mercea <span dir="ltr"><<a href="mailto:pmercea@bwh.harvard.edu" target="_blank">pmercea@bwh.harvard.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody,<br>
<br>
I'm working on a module for Slicer and I'm using some CTK widgets.<br>
I would like to insert a ctkSliderWidget into one of my widgets but for layouting purposes it would be great if it could have vertical orientation which it doesn't support yet.<br>
The ctkDoubleSlider in the ctkSliderWidget has a method for setting orientation so I wondered if there is a reason the ctkSliderWidget should only be horizontal !?<br>
<br>
If you think that a setOrientation(Qt::<u></u>Orientation) method would be nice I could contribute that. Just let me know. I would change the main layout to QGridLayout and in setOrientation( ) I would set the given orientation to the ctkDoubleSlider and change it's position in the grid respectively. Or do you think there is a better approach ? Because changing the main layout from horizontal to vertical seems more complicated to me.<br>


<br>
Thanks.<br>
Paul<br>
______________________________<u></u>_________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-<u></u>bin/mailman/listinfo/ctk-<u></u>developers</a><br>
</blockquote></div><br></div>