Page 1 of 1

Label position of button

Posted: Tue Jul 18, 2017 7:07 am
by MikeLima
Greetings

I have a usual button and I use the icon to skin it. I want to use the buttons label to show the text (while the icon is only background).
The problem: Whenever I turn on the "Show Name" property the icon resizes (about half of it's size).

So the question is: How to use the label correctly along with icon "background" to have the right size ?

Thanks very much in advance
Michael Lurie

Re: Label position of button

Posted: Tue Jul 18, 2017 7:39 am
by jmburnod
Hi Michael,
As far i knowI believe there is no way to do that with btn only.
I use a group when i need a control with icon and label, one grc por image for background, one field for text and one transparent btn.
Best regards
Jean-Marc

Re: Label position of button

Posted: Tue Jul 18, 2017 11:42 am
by MikeLima
Trying now with groups. But also with groups the mouseOver of the button is not working where the label covers the button.

Re: Label position of button

Posted: Tue Jul 18, 2017 12:26 pm
by Klaus
Hi Mike,

not sure I understand you problem, but it sounds like you should play
with the "icongravity" property of your button.


Best

Klaus

Re: Label position of button

Posted: Tue Jul 18, 2017 1:06 pm
by MikeLima
Thanks Klaus. That solved the problem. One last question: Is there a way to add this "propertiy" to the button by default ? I played with "custom" but not sure if this is the right place.

Thanks again
Michael