-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
After updating the library from April to today's version, button suddenly not displayed correctly #70
Comments
Can you please post a code snippet that can be used to reproduce this behaviour? |
fragment_button:
|
This bug occurs when a BootstrapButton has a layout_width of match parent or uses weighting. The middle label occludes the right icon - setting its width to wrap_content breaks the text alignment code. This may require a bit of time to fix as it looks like the layout will need to be switched to a RelativeLayout, and the label padding/text alignment code will also need changing.
|
Hello, |
I haven't looked into this yet, but it's possible I might get a chance over the next few weeks. If I do start work on it I'll leave a comment in here, as there's no point duplicating effort. Rotating icons would also be very welcome. |
|
…version, button suddenly not displayed correctly
@ian2009 thanks for your fix, I'll try and test it out at some point over the next few days. Would you mind creating a PR? |
right image gone, format changed(now center work)
The text was updated successfully, but these errors were encountered: