Changing the size of the iControl bar   [RESOLU] - View the solution

no avatar
sifranc
Member
 
Topic author
Posts: 26
Likes: 1 post
Liked in: 0 post
Joined: Sat Mar 03, 2012 10:05 pm
Info

Changing the size of the iControl bar

by sifranc » Mon Dec 22, 2014 1:27 am

Hi,
i want specific sizes for the iControl bar (700 pixels wide with 7 icons and 300 pixels with 8 icons).
I can't figure how to do it, even in the skin.xml file.
Could someone please help me ?
Thanks

no avatar
Destiny
Moderator
 
Posts: 7886
Likes: 6 posts
Liked in: 228 posts
Joined: Mon Apr 26, 2010 11:55 pm
Info

Re: Changing the size of the iControl bar  [RESOLU]

by Destiny » Mon Dec 22, 2014 2:31 am

Hi.. If you need to change the span of the buttons you can do that from the Skins xml file..

Look for this code, just part of it.. You need to divide the number of menu buttons to get your px sizes.. Edit all the 45 numbers to higher numbers.. Some code strings with have two 45, edit both of them...

Destiny..


<action name="theme11buildMenu">

set(theme11button_pos, 0);

set(theme11backgroundwidthwhenclosed, 40);
set(layer[theme11btn_hidecontrols].x, get(theme11button_pos));
set(layer[theme11btn_showcontrols].x, get(theme11button_pos));
inc(theme11button_pos, 45);



if (device.desktop,
set(layer[theme11btn_display_help].x, get(theme11button_pos));
set(layer[theme11btn_close_help].x , get(theme11button_pos));
inc(theme11button_pos, 45);
);

if (device.fullscreensupport,
set(layer[theme11btn_openfs].x , get(theme11button_pos));
set(layer[theme11btn_closefs].x, get(theme11button_pos));
inc(theme11button_pos, 45);
);



set(layer[theme11btn_autorotate_on].x , get(theme11button_pos));
set(layer[theme11btn_autorotate_off].x, get(theme11button_pos));
inc(theme11button_pos, 45);

no avatar
sifranc
Member
 
Topic author
Posts: 26
Likes: 1 post
Liked in: 0 post
Joined: Sat Mar 03, 2012 10:05 pm
Info

Re: Changing the size of the iControl bar

by sifranc » Mon Dec 22, 2014 9:26 am

thanks Destiny for answering so quickly !
I'll try that as soon as I can!
Have a nice day !


Who is online

Users browsing this forum: No registered users and 2 guests

cron