buildbar customize? [SOLVED]

buildbar customize? [SOLVED]

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

buildbar customize? [SOLVED]

Post by manolo_ »

hi,

i have a simple question for the buildbar widget (by jK), i want to change the iconsize (i already minimized it with the mousewheel, but i want to make it even smaller), so i changed the line

local bar_iconSizeBase = 55 --iconSize o_O to a smaller value, but nothing happend. so could somebody help me?
Last edited by manolo_ on 17 Mar 2009, 18:37, edited 1 time in total.
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: buildbar customize?

Post by slogic »

it is stored in config. change this line

Code: Select all

bar_iconSizeBase = Spring.GetConfigInt("buildmenu_icon_size_base",55)
original developer should rewrite that line to this one:

Code: Select all

bar_iconSizeBase = Spring.GetConfigInt("buildmenu_icon_size_base",bar_iconSizeBase)
After that your first attempt would be succeeded.
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: buildbar customize? [SOLVED]

Post by manolo_ »

thx worked
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: buildbar customize? [SOLVED]

Post by Licho »

ctrl+f11 to enter tweak mode and use ctrl+mouse wheel to change size..
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: buildbar customize? [SOLVED]

Post by manolo_ »

me wrote:(i already minimized it with the mousewheel, but i want to make it even smaller)
:P
Post Reply

Return to “Lua Scripts”