-
Notifications
You must be signed in to change notification settings - Fork 113
Description
I am changing colors for RMBarStep in the RMStep.m for disabled, enabled and selected bars. For example, For enabled bar:
-
(UIColor *)enabledBarColor {
if(!_enabledBarColor) {
self.enabledBarColor = [UIColor colorWithRed:46/255.0 green:174/255.0 blue:241/255.0 alpha:0.7];
}return _enabledBarColor;
}
If I change color of the bar, separators are hidden. I guess because separators are layered below bar textlabel, that is why it is happening. If I lower the alpha value of bar background color, separators are better visible.
Alpha : 0.7
Alpha 1.0:
The separators are actually red colored here, shown blue due to blue color overlap.
As a work around, I tried to change the background color of RMStepBar to blue, and cleared the colors for individual steps. But still background color is very lightly visible, as if some white layer with lower alpha has been placed over steps.
Please suggest me something to solve this issue. I have already taken one week. Thanks.