Ok I tried that but unfortunately nothing changed/happend.
I could just change the fontsize from 16 to 14 or something but when I switch to other profiles like for 5 or 10/20 man groups (Bigger Frames) the fontsize is still the same and doesnt match the size of the Frames at all (too small). Thats why I am asking. |
Try changing the line (before the last change):
Code:
statusText:SetFont("Fonts\\ARIALN.TTF", 16) Code:
statusText:SetFont("Fonts\\ARIALN.TTF", 16 * min(DefaultCompactUnitFrameSetupOptions.height / 36, DefaultCompactUnitFrameSetupOptions.width / 72)) |
I tried that but the size is still the same as before :(
|
Give this a shot:
Code:
hooksecurefunc("DefaultCompactUnitFrameSetup", function(self) |
I guess it did everything because the font-size is pretty much the same related/matched to all the frame profiles. I think I will go with 12 instead of 16 because its pretty big but I think thats it :)
Where do I put outline if I want to change that? |
Same as before:
Code:
statusText:SetFont("Fonts\\ARIALN.TTF", fontSize, "OUTLINE") |
is it possible to make the outline smaller / thinner like with the shadow?
|
No. The only other option is "THICKOUTLINE" in place of "OUTLINE" which makes is thicker.
|
Ok, ty so much :)
|
change position
I was trying to display the text a bit lower because in default its directly in the middle of the frame. I use other mods to display buffs / heals on the other half and with bigger frames those are overlapping with lost-health text.
I tried: statusText:SetPoint("CENTER", 0, -10) but that doesnt seem to work at all. :( It seems the text is always locked to the middle of the frame. Any suggestions?:confused: |
You need to clear it's original position first.
(:ClearAllPoints()) |
Code:
hooksecurefunc("DefaultCompactUnitFrameSetup", function(self) Maybe I missed something. |
I think the clear statement works but I dont know about setpoint. The text seems to be stuck there in the middle.:(
|
Code:
:ClearAllPoints() Code:
statusText:ClearAllPoints() |
Ok thats working :o Ty
|
Is it possible to put the text in the foreground? Sometimes with bigger numbers its behind an aura/buff. is there a way to fix that?
|
Add
Code:
statusText:SetDrawLayer("OVERLAY", 7) Code:
hooksecurefunc("DefaultCompactUnitFrameSetup", function(self) |
Ok I tried that but the text is still behind the buffs/auras/debuffs. No issues but nothing is changing.
Also it happens that the text-position is different for some player frames (resettet, from what I changed it to in the first place) And the outline is missing too (which I added). But I think thats related to the sort per role/name/group option. Code:
hooksecurefunc("DefaultCompactUnitFrameSetup", function(self) |
Ok, so I tried to hide the auras/buffs instead. It seems that the layer isnt changeable like that. The numbers/text is always behind the buffs/auras.:confused::(
|
All times are GMT -6. The time now is 11:34 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI