ctrlSetScale – Talk
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
It will scale text though... | It will scale text though... | ||
A workaround is to use a [[Dialog_Control#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) |
Revision as of 01:24, 19 March 2010
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)