Jump to content

Recommended Posts

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)		
		};
		
	};
	
};

 

  • Like 1

Share this post


Link to post
Share on other sites

Did you reload the changes by entering back in the editor? simply restarting the mission does not reload the changes in description.ext

  • Like 1

Share this post


Link to post
Share on other sites
5 minutes ago, gc8 said:

Did you reload the changes by entering back in the editor? simply restarting the mission does not reload the changes in description.ext

 

Im not that newbie, but yes. To apply the changes, you need to save the mission (Eden editor)

Share this post


Link to post
Share on other sites
14 minutes ago, jts_2009 said:

 

Im not that newbie, but yes. To apply the changes, you need to save the mission (Eden editor)

 

no need to save, just enter the editor. I think in arma2 u had to save but it's now changed

Share this post


Link to post
Share on other sites

Ok, it doesn't matter anymore. It's not the W or H size. The problem was that it expands by text (active selected area). Here is example. Thats not practical :glare:

 

Before:

before.png

 

After:

after.jpg

 

 

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×