Frezyx/group_button

Button text padding has a gap on top

SalahAdDin opened this issue · 0 comments

Hello,

Finally, I got the solution for. this bug, but trying to make the text fit to my button i got this problem: It is a gap on the top padding, if we put a simetrical padding for vertical, the text will be more to bottom than top.

To fix this i hade to user a custom padding:
Screen Shot 2021-12-09 at 17 35 50

As you can see in the picture, I had to put less padding for top.

I'm having problems with the padding now:
Screen Shot 2021-12-13 at 22 05 00
You can see here how with short text we have problems on top, leading us to understand, the padding is wrong only on long texts.

Now, when we remove the padding or we make padding same for every, we will get the next problems.
Screen Shot 2021-12-13 at 22 08 21
Screen Shot 2021-12-13 at 22 09 26
Screen Shot 2021-12-13 at 22 10 03

Why does this happen?

Thanks