HMSegmentedControl icon indicating copy to clipboard operation
HMSegmentedControl copied to clipboard

HMSegmentedControlTypeTextImages type vertical text and image not align

Open iPermanent opened this issue 3 years ago • 0 comments

self.cateSegmentControl.type = HMSegmentedControlTypeTextImages; self.cateSegmentControl.imagePosition = HMSegmentedControlImagePositionLeftOfText; self.cateSegmentControl.textImageSpacing = 6.f; self.cateSegmentControl.contentVerticalAlignment = UIControlContentVerticalAlignmentCenter;

Here I added the code however the image and title not align vertical, the title is a little upper than image, I used the svg file, I think this is a bug and maybe we need a function to set titles attributestrings instead of simple string IMG_CAB37F4F2581-1

iPermanent avatar Feb 03 '23 09:02 iPermanent