> On Wednesday 02 December 2009, Benoît Minisini wrote: > > > 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@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? > > Maybe the .orientation was more logic? > > Suggest to add the .orientation to slider and scrollbar. > Add a 3' value to the orientation values as 'auto' > If set to auto it wil use the widht/height way else it use the > horizontal or vertical as current is definied. > Don't forget to add the auto function for the toolbar :) :) > > > Best regards, > > Ron_1st >
If I make an explicit orientation property, why should I spend time making an automatic one? -- Benoît Minisini ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user