F fishwolf Well-Known Member Licensed User Longtime User Aug 19, 2015 #1 I would use the Segmented control. can i change the font size or the selected color? Thanks
narek adonts Well-Known Member Licensed User Longtime User Aug 19, 2015 #2 for thencolor change the TintColor Upvote 0
F fishwolf Well-Known Member Licensed User Longtime User Aug 19, 2015 #3 thanks for font size? on ipadmini text is very small Upvote 0
JanPRO Well-Known Member Licensed User Longtime User Aug 19, 2015 #4 Hi, use B4X: Dim NaObj As NativeObject = Me NaObj.RunMethod("SetFont::", Array (Font.CreateNew(30),SegmentedControl1)) #If OBJC -(void)SetFont:(UIFont *)Font :(UISegmentedControl *)SegmentedControl{ NSDictionary *attributes = [NSDictionary dictionaryWithObject:Font forKey:NSFontAttributeName]; [SegmentedControl setTitleTextAttributes:attributes forState:UIControlStateNormal]; } #End If Upvote 0
Hi, use B4X: Dim NaObj As NativeObject = Me NaObj.RunMethod("SetFont::", Array (Font.CreateNew(30),SegmentedControl1)) #If OBJC -(void)SetFont:(UIFont *)Font :(UISegmentedControl *)SegmentedControl{ NSDictionary *attributes = [NSDictionary dictionaryWithObject:Font forKey:NSFontAttributeName]; [SegmentedControl setTitleTextAttributes:attributes forState:UIControlStateNormal]; } #End If