MagicButton
MagicButton copied to clipboard
Problem with longer texts
Hi, first thanks for this nice library, however it has limitation when it comes to long texts. Please do something about it, something like wrap_content about it's height.
@ErfanThinker It's already wrapping content but if you want to put long texts you need to increase the button size.
@daniel-martins-IR Shouldn't it expand as much as it has text inside of it? I mean it's not reliable if we have to expand it by dp ourselves and see if it fits by test and error.
Ok, I understood you, but this enhancement brings other problem, it can be a problem for people who change the button size, it can conflict with normal button resizing, then I thought in a solution for it, create a flag in button that tell the lib if you want to resize automatically, what do you think?
@daniel-martins-IR it would be good if you do it, so shall I close this and open a new one or keep this one open?
you can keep this issue.