Jump to content

Photo

Relative positioning of Frames in a Addon


  • Please log in to reply
2 replies to this topic

#1 Vakki

Vakki
  • Junkies
  • Undeadclass_name
  • EU-Theradras
  • Raserei / Frenzy
  • Posts: 10
  • Talents: Frost 1/2/0/2/2/0/.

Posted 18 October 2015 - 06:31 PM

Hi,
I just wanted to ask how i can position a frame depending on the screen resolution.
Right now i got something like this:

MultiBarBottomLeft:SetPoint("CENTER", UIParent, 0, -437);

what only works with the resolution i positioned it.

Sorry i know this should be pretty simple but i dont find something about that.

Appreciate any help <3
  • 0

#2 Vakki

Vakki
  • Junkies
  • Undeadclass_name
  • EU-Theradras
  • Raserei / Frenzy
  • Posts: 10
  • Talents: Frost 1/2/0/2/2/0/.

Posted 19 October 2015 - 10:37 PM

someone anything ? :DD
  • 0

#3 Fugg

Fugg
  • Members
  • Humanclass_name
  • EU-Aegwynn
  • Blutdurst
  • Posts: 79
  • Talents: Shadow 1/1/0/1/0/0/0
  • 2v2: 1012
  • 3v3: 288
  • RBG: 1680
  • LocationEarth

Posted 20 October 2015 - 10:09 AM

GetCVar("gxResolution")

I can advise you to take a look at Tukui as it was designed to be pixelperfect.
  • 0
Posted Image
Touch of Death




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

<