RHS Feedback

View Revisions: Issue #1546 Back to Issue ]
Summary 0001546: All artillery has wrong UI positions
Revision 2015-12-20 10:39 by ruPaladin
Description Check "rhs_optics" and "rhsusf_optics". You will find that code:
class CA_IGUI_elements_group: RscControlsGroup
        {
            class controls
            {
                class CA_Heading: RscText
                {
                    x="-2 * (0.01875 * SafezoneH)";
                    y="-2.4 * (0.025 * SafezoneH)";
                    w="13 * (0.01875 * SafezoneH)";
                    h="13 * (0.025 * SafezoneH)";
                };
                class CA_Elev: RscText
                {
                    x="-2 * (0.01875 * SafezoneH)";
                    y="-0.4 * (0.025 * SafezoneH)";
                    w="13 * (0.01875 * SafezoneH)";
                    h="13 * (0.025 * SafezoneH)";
                };
            };
        };
in
class rhs_gui_optic_mortar
and
class rhsusf_gui_optic_mortar.

It didn't use standard BI calculations for UI positions, so all UI elemnts moves on different monitor resolutions.
Revision 2015-12-20 10:39 by ruPaladin
Description Check "rhs_optics" and "rhsusf_optics". You will find that code:
class CA_IGUI_elements_group: RscControlsGroup
        {
            class controls
            {
                class CA_Heading: RscText
                {
                    x="-2 * (0.01875 * SafezoneH)";
                    y="-2.4 * (0.025 * SafezoneH)";
                    w="13 * (0.01875 * SafezoneH)";
                    h="13 * (0.025 * SafezoneH)";
                };
                class CA_Elev: RscText
                {
                    x="-2 * (0.01875 * SafezoneH)";
                    y="-0.4 * (0.025 * SafezoneH)";
                    w="13 * (0.01875 * SafezoneH)";
                    h="13 * (0.025 * SafezoneH)";
                };
            };
        };
in
class rhs_gui_optic_mortar
and
class rhsusf_gui_optic_mortar.

They didn't use standard BI calculations for UI positions, so all UI elemnts moves on different monitor resolutions.


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker