Thread Tools Display Modes
03-31-10, 10:08 PM   #1
mankeluvsit
An Onyxian Warder
 
mankeluvsit's Avatar
Join Date: Sep 2008
Posts: 354
Question a space?

Problem:
for some reason there is a space where the mp should be all the way to the right, in the ss i didnt disable everything but the mp, but when i do the problem is still there.
http://pastebin.com/aPybFxwE
Image:

=> zoomed in
Here is my code:
Code:
[Outline][(if IsMouseOver = true then
    MP:Short
elseif PercentMP > 70 then
    PercentMP:VeryShort:Color("C0FF3E")
elseif PercentMP > 35 < 70 then
    PercentMP:VeryShort:Color("ffcc00")
elseif PercentMP < 35 then
    PercentMP:Hide(0):VeryShort:Color("ff8000")
end)]
i know, i like to make my threads clean :P

Last edited by mankeluvsit : 03-31-10 at 11:11 PM.
  Reply With Quote
03-31-10, 10:36 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Do you have that text anchored to the right for the text block?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
03-31-10, 10:37 PM   #3
mankeluvsit
An Onyxian Warder
 
mankeluvsit's Avatar
Join Date: Sep 2008
Posts: 354
Originally Posted by Seerah View Post
Do you have that text anchored to the right for the text block?
yeah, its in "heath bar" but if i delete it and use say name "[name]" in its position, it lines up just fine.
  Reply With Quote
03-31-10, 10:40 PM   #4
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
It's because the bar ain't pixelperfect, don't even try fixing it, it's not worth the fuss.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
03-31-10, 10:41 PM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
That has nothing to do with it. If it were a pixel perfect issue, it would only be off by one pixel or less.


/edit: I haven't used PitBull in some time, so I don't remember all of the options or how they are worded. But is there a way to anchor the actual text to the right inside the block for the text? Think of it like an address label. You have the label stuck to the right of the health bar. But is the text printed on the address label aligned to the left or to the right?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh


Last edited by Seerah : 03-31-10 at 10:44 PM.
  Reply With Quote
03-31-10, 10:42 PM   #6
mankeluvsit
An Onyxian Warder
 
mankeluvsit's Avatar
Join Date: Sep 2008
Posts: 354
Originally Posted by nightcracker View Post
It's because the bar ain't pixelperfect, don't even try fixing it, it's not worth the fuss.
it works on my target, and im trying to make the text all the way to the right, bar is pixel perfect to my standards.
  Reply With Quote
03-31-10, 10:44 PM   #7
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by Seerah View Post
That has nothing to do with it. If it were a pixel perfect issue, it would only be off by one pixel or less.
Well, it IS off by one pixel.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
03-31-10, 10:45 PM   #8
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
He's talking about the space between the text "100" and where he wants the edge of it to actually be.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
03-31-10, 10:46 PM   #9
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by Seerah View Post
He's talking about the space between the text "100" and where he wants the edge of it to actually be.
Ohhhh, no idea, I don't use pitbull
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
03-31-10, 10:48 PM   #10
mankeluvsit
An Onyxian Warder
 
mankeluvsit's Avatar
Join Date: Sep 2008
Posts: 354

if it helps, heres zoomed in im not worried about PIXELS im worried about making it to the right. oh, im using pitbull4.
  Reply With Quote
03-31-10, 11:11 PM   #11
mankeluvsit
An Onyxian Warder
 
mankeluvsit's Avatar
Join Date: Sep 2008
Posts: 354
here is my pitbull4 lua: http://pastebin.com/aPybFxwE
  Reply With Quote
04-01-10, 04:16 PM   #12
mankeluvsit
An Onyxian Warder
 
mankeluvsit's Avatar
Join Date: Sep 2008
Posts: 354
anyone????
  Reply With Quote
04-02-10, 02:12 AM   #13
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
I haven't used PitBull but you sure the text is aligned and anchored to the right without padding?
__________________
I stopped playing back World of Warcraft in 2010 and I have no plans on returning.
This is a dead account and if you want to continue any of my addons or make a fork then feel free to do so.
This is your permission slip.

If you need to contact me, do so on Twitter @v6ooo

Best regards, v6.
  Reply With Quote
04-02-10, 04:47 AM   #14
Ferous
Sheer Sense of Doom
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 863
I would open a ticket on WoWAce about it, as it seems to be a bug.

Also, Nightcracker, you fail at reading! :P
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » a space?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off