kayler-renslow / arma-dialog-creator

A dialog/GUI creation tool for Arma 3.
MIT License
76 stars 12 forks source link

*.paa is not displayed even though Arma Tools directory is set #44

Closed xetra11 closed 5 years ago

xetra11 commented 5 years ago

Version and Build

v1.0.7

Summary

I have a *.paa image which does already work inside ArmA3. I now want to use it in the ADC Preview so I can adjust the control to this image.

Detail

C:\Users\xetra11\Documents\Arma Dialog Creator\image.paa C:\Users\xetra11\Documents\Arma Dialog Creator\CoopR Recon Report\image.paa (the project directory)

The config of my background control:

    {
        class CoopR_ReconReport_Background
        {
            type = 0;
            idc = 11050;
            x = safeZoneX + safeZoneW * 0.26875;
            y = safeZoneY + safeZoneH * 0.12666667;
            w = safeZoneW * 0.4625;
            h = safeZoneH * 0.75;
            style = 2;
            text = "image.paa";
            colorBackground[] = {0.8549,0.8902,0.5373,1};
            colorText[] = {0.7412,0.4706,0.7922,1};
            font = "PuristaMedium";
            sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);

        };

    };

Result: https://imgur.com/a/OmHnhys

kayler-renslow commented 5 years ago

You don't have the Picture style set. style should be set to 48 (Picture) not 2 (Center)

kayler-renslow commented 5 years ago

https://community.bistudio.com/wiki/Dialog_Control#CONTROL_STYLES

xetra11 commented 5 years ago

Thanks dude! Legend I love your tool!