MagicButton icon indicating copy to clipboard operation
MagicButton copied to clipboard

Problem with longer texts

Open ErfanThinker opened this issue 8 years ago • 5 comments

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 avatar Aug 02 '16 20:08 ErfanThinker

@ErfanThinker It's already wrapping content but if you want to put long texts you need to increase the button size.

bloderxd avatar Aug 12 '16 01:08 bloderxd

@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.

ErfanThinker avatar Aug 12 '16 06:08 ErfanThinker

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?

bloderxd avatar Aug 12 '16 11:08 bloderxd

@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?

ErfanThinker avatar Aug 12 '16 19:08 ErfanThinker

you can keep this issue.

bloderxd avatar Aug 12 '16 19:08 bloderxd