Problem scaling a group where the textures are different sizes due to cropping
DracoJWS opened this issue ยท 2 comments
Reporting as requested on the Discord server. Attached is a simple Fury Warrior group called Test to Show problem. When BloodThirst is availible, the full totem icon is visible. When Bloodthirst is used, the full totem goes away and a cropped version of the totem appears and fills up.
The problem; if I go to the Group level and adjust Position Settings\Width, both scale to the same width. If I adjust the Position Settings\Height, the graphics seperate, as whatever is in the Height value is applied to both items in the group.
What I'm trying to do; attached is an image of a wa I was prototyping on the ptr for my monk(Proof of concept Brewmaster.jpg). I use the main beer portion of the wa to track Purifying Brew charges (2 charges of brew, use one and it goes to half and fills up, use 2 and it goes to the bottom and fills up). The foam tracks Celestial Brew's charge (fills top to bottom). The handle tracks Fortifying Brew's cooldown (fills bottom to top). The goal of the prototype was to track my main 3 brews; I sized them larger than I needed in order to get them to line up as best I could. Once I had it working I moved the group to place it and went to scale it to size it correctly, and the result is what is seen in the second picture (Overlaid image and after scaling.jpg).
In the brewmaster monk example, I made the image and seperated it into seperate elements (beer, foam, handle, outline). What I thought I could do (and I guess this would count as a feature request if it's not in) was to specify the top and bottom of the progress texture, to define where the progress started and where it ended (in the foam portion, I'm guessing that the top should start about 5% from the top of the picture (the foam over a black background) and end at about 55%. If I could to this, I could use the same image multiple times, and since they were all the same size they would properly overlap This is what I thought the min and max were for. When that didn't work I duplicated and cropped/repositioned elements so that "start to finish" of the progress texture were actually the top and bottom of the cropped image.
Basically I can set up something that works as is now and move it around. If I try to scale it (at the group level), it falls apart. This is a problem since (if the only method I have to set the range of the start/finish is to crop and offset) I can't work large enough to get things positioned as I'd like, and I can't share it since it would only come in one size, which at this point is probably too big for people's needs.
This occurs in Retail (multiple addons installed) and beta for sl (wa is the only addon installed there).
Sample Weak Aura showing problem (scale the group on the Y axis assigned the same y value into both sub items)...
!WA:2!DwztZnTryCC0yYaOHsTDPPekLXLdmaTndoecH(gyzSBm1XXilssBdnEL0ARLiVRy3v5TtD8W0jNZhbFMt(JaFcEgp9dqN8rih65URKtin0z6mvh0UAF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Ngem3xL1O(jAXQELgpbUKA)nHSMqot4HkGmerL6UDR1OvTNubMDy1UrB37w7UqPBtIY9oW6iLp3)lLFp7Tiko51x0gfgfGYCsQU6Xr3G(ESErAveOT6FYjORXeybT7FqYvRjuHbumdmdCVdFxk64FiKbURjNq13sJd6RPe9v5tnKXjkmmbE6VCfBNALlv31t93I13U5zV70Zwm9JDs)ik77IbPxboXEfbRvvDwCEOSYMwtBtHNeavAdvF6cp6pZM88(vmsTG7LpkN2v0ftXCIN(ESLOTh9p(8arsrz1pT8zBrHgTtSRtc)G2YQ8HWc5lcxpAQJgrHMJZ)fUvI782Ahg8JqDyXJSIWsqtOw7917T6gsVnAdpl15b2V5mqRuhwkGQjpfaEca9uTK99AjXwcogWZHLvMpyLfE8k)2zupN9F1(bRga)e8Zjo6FbwdKtaI0io8Ia4xvinSUIqbe4crtbTnbpWxLrbAAUvL015(EgWgjWYvpjSCCuj5NfWldasgqrFqhORcXxLxAPasvUv5hcS267AFfWvoSXUJCjgK4jYV5FS6F)d
The group has a group scale option which does what you want. You just need to advise users to use it instead of setting the width/height of all items.