Closed Rayhko closed 3 years ago
Finally found a solution, i use constraints with visual format like this :
dynamicConstraints = NSLayoutConstraint.constraints(withVisualFormat: "V:|-[segmentedControl(80)]|", options: .alignAllCenterY, metrics: nil, views: views)
contentView.addConstraints(dynamicConstraints)
@Rayhko can you share more detail? how?
Hello, I am trying to increase the height of the buttons of a SegmentedRow. I managed to do it with a code similar to this one:
However, it only increases the height visually and not the clickable area which remains very small.
Does anyone have an idea for a solution please?