Page 1 of 1

How to control size of buttons

Posted: Tue Jan 20, 2015 11:18 pm
by Ahmet

Hi,

I'm designing 6 buttons on screen, if I run the testview I see that my buttons are resized? How can this happen?

I want my buttons on the same size as I have designed in the design mode.

Please help.
Thanks Ahmet Image


How to control size of buttons

Posted: Wed Jan 21, 2015 2:30 am
by Yurii Orishchuk

Hi Ahmet,

You need to set appropriate css styles for your button component.

solution:

  1. Create new CSS asset.

  2. Populate it with following CSS code:

    pre

    /* where mobilebutton_243 is your button name */
    .ui-btn[name="mobilebutton_243"]{
    width: 200px;
    height: 50px;
    }

    /pre

    Regards.


How to control size of buttons

Posted: Wed Jan 21, 2015 9:18 am
by Ahmet

Thanks,