[Gambas-user] Qt Slider orientation

Ron ron at ...1740...
Wed Dec 2 20:58:08 CET 2009


Charlie Reinl schreef:
> Am Mittwoch, den 02.12.2009, 17:53 +0100 schrieb Ron_1st:
>   
>> On Wednesday 02 December 2009, Ron wrote:
>>     
>>> Hi,
>>>
>>> why is it not possible (so it seems to me) to set a sliders orientation 
>>> to vertical in Gambas?
>>>
>>> http://doc.qt.nokia.com/3.3/qslider.html#orientation-prop
>>>
>>>
>>> Gambas 2.18.x
>>> gb.qt
>>> Ubuntu 9.10
>>>
>>> Regards,
>>> Ron_2nd.
>>>
>>> ------------------------------------------------------------------------------
>>> Join us December 9, 2009 for the Red Hat Virtual Experience,
>>> a free event focused on virtualization and cloud computing. 
>>> Attend in-depth sessions from your desk. Your couch. Anywhere.
>>> http://p.sf.net/sfu/redhat-sfdev2dev
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>>       
>> if width < height then it is vertical
>> if width > height then it is horizontal
>> :)
>>
>> This is/was the way.
>>
>> Best regards,
>>
>> Ron_1st
>>
>>     
>
> Same as ScrollBar ! 
>
>
>   

Yeah but different than Toolbar... (which has a orientation property for 
this)
http://gambasdoc.org/help/comp/gb.form.mdi/toolbar/orientation?view

Help... Benoit... it starts smelling like visual basic logic to me... 
sorry... ;-)

Regards,
Ron.






More information about the User mailing list