A Alessandra Pellegri Active Member Licensed User Longtime User Sep 14, 2015 #1 I need to put Slider in vertical position but I don't find any related property. How could I do ? Thank you
I need to put Slider in vertical position but I don't find any related property. How could I do ? Thank you
JanPRO Well-Known Member Licensed User Longtime User Sep 14, 2015 #2 Hi, use: B4X: Dim NaObj As NativeObject = Me NaObj.RunMethod("RotateView::",Array(Slider1,90)) 'OR NaObj.RunMethod("RotateView::",Array(Slider1,270)) #If Objc - (void)RotateView: (UIView *) View :(int) degree{ View.transform = CGAffineTransformMakeRotation(M_PI*degree/180); } #End If Upvote 0
Hi, use: B4X: Dim NaObj As NativeObject = Me NaObj.RunMethod("RotateView::",Array(Slider1,90)) 'OR NaObj.RunMethod("RotateView::",Array(Slider1,270)) #If Objc - (void)RotateView: (UIView *) View :(int) degree{ View.transform = CGAffineTransformMakeRotation(M_PI*degree/180); } #End If
A Alessandra Pellegri Active Member Licensed User Longtime User Sep 14, 2015 #3 Is possible to rotate respect the up-left corner instead that center? Upvote 0
A Alessandra Pellegri Active Member Licensed User Longtime User Sep 18, 2015 #4 I would like if possible position it like an usual control. But if I rotate it has suggested it moves and is not simply determine the correct position Upvote 0
I would like if possible position it like an usual control. But if I rotate it has suggested it moves and is not simply determine the correct position