Skip to content

cant select items when height in vertical layout is high #19

@diegoescobar79

Description

@diegoescobar79

I am doing something like this: (i am repeating elements just for the sake of showing a lot of elements)
NSArray *titles = [NSArray arrayWithObjects:[@"YES" uppercaseString], [@"NO" uppercaseString],[@"YES" uppercaseString], [@"NO" uppercaseString],[@"YES" uppercaseString], [@"NO" uppercaseString],[@"YES" uppercaseString],[@"YES" uppercaseString], nil];

URBSegmentedControl *control = [[URBSegmentedControl alloc] initWithItems:titles];

control.frame = CGRectMake((self.view.frame.size.width/2)-100, 5, 200.0, [titles count]*80);

From element 0 to element 4 i can select without problems.. but 5,6 and 7 its unselectable.. but if i change size from 80 to 40 .. it all works..

I cant find the reason for this !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions