ElvUI-MoP / ElvUI-5.4.8

ElvUI for World of Warcraft - Mists of Pandaria (5.4.8)
https://discord.gg/UXSc7nt
31 stars 26 forks source link

Trainer Frame not working properly on 1440p #81

Closed Nefarion closed 3 years ago

Nefarion commented 3 years ago

image

Nefarion commented 3 years ago

i tried a few fixes: Changing ClassTrainerFrameInset:Kill() to ClassTrainerFrameInset:StripTextures() leads to this image

Nefarion commented 3 years ago

At the end, with this diff for Trainer.lua

@@ -13,10 +13,8 @@ local function LoadSkin()
    ClassTrainerFrame:Height(472)

    ClassTrainerFrameBottomInset:StripTextures()
+   ClassTrainerFrameBottomInset:Point("TOPLEFT", ClassTrainerFrame, 5, -130)

+   ClassTrainerFrameInset:StripTextures()
+   ClassTrainerFrameInset:Point("TOPLEFT", ClassTrainerFrame, 5, -80)
-   ClassTrainerFrameInset:Kill()
    ClassTrainerFramePortrait:Kill()

    S:HandleButton(ClassTrainerTrainButton)

I get this result: image

Hope this helps?

Apollyonn commented 3 years ago

Should be ok now. I can't test it since i don't have a 1440p monitor atm. If you have similar problems or if you see something that doesn't feel right with other skins please open another issue.