[Gambas-user] Qt Slider orientation

Benoît Minisini gambas at ...1...
Wed Dec 2 21:06:49 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.
> 

You are right: I didn't think doing the same thing when I made the Toolbar 
control. 

That's funny, isn't it?

-- 
Benoît Minisini




More information about the User mailing list