-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird styling issue in SegmentedControl on Android #48
Comments
DISCLAIMER: I suck at design. |
I have never used negative padding or margins in css before but I guess you mean to just give a negative number instead of a positive number for the margin/padding value. I will give it a try and post the results. |
negative numbers in padding/margins is something I do that makes REAL designers curse my name :) But it gets stable results, for sure. |
FYI I'm running into this same issue on iOS, so I don't think it's platform-dependent. I worked around it by adding |
I am observing a weird styling issue while using SegmentedControl on Android. In the below screenshot, observe that there is a very small part that is white.
When I inspect it in the
Inspector
, it looks like below. The small white part is not part of the view.Below is the code to render the
SegmentedControl
If
flex: 1
is removed and a fixed width is provided, then the issue goes away. Any ideas on how to fix the problem.cc @GantMan
The text was updated successfully, but these errors were encountered: