Ahmet
Posts: 0
Joined: Wed Jul 23, 2014 12:48 pm

How to control size of buttons

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How to control size of buttons

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.

Ahmet
Posts: 0
Joined: Wed Jul 23, 2014 12:48 pm

How to control size of buttons

Thanks,

Return to “Issues”