Skip to content

Commit

Permalink
Issue of vertical segmented
Browse files Browse the repository at this point in the history
Fixed the bug that show the items in vertical is incorrect.
  • Loading branch information
GellioGao authored Jul 1, 2018
1 parent 10d7dfe commit dd71a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GLXSegmentedControl/GLXSegmentedControl.swift
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ open class GLXSegmentedControl: UIControl {
else {

segment.leadingAnchor.constraint(equalTo: self.leadingAnchor).isActive = true
segment.trailingAnchor.constraint(equalTo: self.leadingAnchor).isActive = true
segment.trailingAnchor.constraint(equalTo: self.trailingAnchor).isActive = true

}
}
Expand Down

0 comments on commit dd71a99

Please sign in to comment.