Search the Community
Showing results for tags 'menuadd'.
Found 1 result
-
Hello. Can someone tell me why it doesn't work, if Im trying to change the W size of that menu? Here is the definition: class woa_ctMenu { idc = 0; type = 46; style = 0; sizeEx = "4.32 * (1 / (getResolution select 3)) * pixelGrid * 0.5"; rowHeight = 0; itemSpacingH = 0.02; itemSpacingW = 0.03; deletable = 0; fade = 0; blinkingPeriod = 0; colorBorder[] = {0,0,0,0}; colorBackground[] = {0.702,0.702,0.702,1}; colorSelectBackground[] = {0.902,0.902,0.902,1}; colorPicture[] = {0.902,0.902,0.902,1}; colorPictureDisabled[] = {0.5,0.5,0.5,1}; colorPictureSelect[] = {1,1,1,1}; colorText[] = {0, 0, 0, 1}; colorDisabled[] = {1, 1, 1, 0.6}; colorSelect[] = {1,1,1,1}; pictureCheckboxDisabled = "#(argb,8,8,3)color(0,0,0,0)"; pictureCheckboxEnabled = "\a3\3DEN\Data\Controls\CtrlMenu\pictureCheckboxEnabled_ca.paa"; pictureRadioDisabled = "#(argb,8,8,3)color(0,0,0,0)"; pictureRadioEnabled = "\a3\3DEN\Data\Controls\CtrlMenu\pictureRadioEnabled_ca.paa"; shadow = 1; show = 1; tooltip = ""; tooltipColorBox[] = {0,0,0,0}; tooltipColorShade[] = {0,0,0,1}; tooltipColorText[] = {1,1,1,1}; //tooltipMaxWidth = 0.5; arrow = "\a3\3DEN\Data\Controls\ctrlMenu\arrow_ca.paa"; font = "TahomaB"; class Items { items[] = {One,Two,Three}; class One { text = "One"; data = "One"; value = 0; }; class Two { text = "Two"; data = "Two"; value = 1; }; class Three { text = "Three"; data = "Three"; value = 2; }; class Default { text = "Empty"; data = "Empty"; enable = 0; }; }; }; And here is that dialog: class woa_gameMenu { idd = -1; class ControlsBackground {}; class Controls { class st_toolbox : woa_ctMenu { idc = 2400; x = safeZoneX + safeZoneW * 0.095; y = safeZoneY + safeZoneH * 0.41; w = safeZoneW * 0.185; // Changing this doesn't work h = safeZoneH * 0.4225; // changing this doesn't work too. It always have the same size (w and h) }; }; };