ctrlSetScale – Talk
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "[[Dialog_Control#" to "[[Arma: GUI Configuration#") |
||
Line 36: | Line 36: | ||
A workaround is to use a [[ | A workaround is to use a [[Arma: GUI Configuration#HTML|CT_HTML control]] and use image tags...this works well and can scale. | ||
--[[User:Hendo|Hendo]] 23:22, 18 March 2010 (CET) | --[[User:Hendo|Hendo]] 23:22, 18 March 2010 (CET) |
Latest revision as of 22:26, 10 March 2020
I couldn't get this to scale the following control (ST_PICTURE):
class RscText2 { type = CT_STATIC; idc = 891; style = ST_PICTURE; colorBackground[] = { }; colorText[] = { }; font = FontM; sizeEx = 1.04; }; class ThreatIcons { idd = 900; movingEnable = 0; duration = 100000; controlsBackground[] = { }; objects[] = { }; controls[] = { T1, T2, T3, T4, T5 }; onLoad = "ThreatIcons = (_this select 0)"; class T1 : RscText2 { idc = 901; x = 0.4; y = 0.45; w = 0.5; h = 0.5; text = "threat2.paa"; }; };
It will scale text though...
A workaround is to use a CT_HTML control and use image tags...this works well and can scale.
--Hendo 23:22, 18 March 2010 (CET)