1. #1

    The 1pixel black border dilema

    The black pixel border dilema

    So, everyone loves how ultra clean black borders look around their unit frames, don't they? if they don't well they're probably wrong.

    the small wall of text below summmarized for those of you lazy people: Who knows of an addon or styling technique that could achieve beautiful minimal black pixel border easily? that being said i encourage you to skim the fence of text below

    You've probably been there too... right?
    -I've tried everything from acctually making a border texture to import to stuf one pixel thick [an attempt which failed miserably]

    -I've tried setting the health and power bars actual bar texture to be inset one pixel on everyside then setting the bar background to black showing a perfect black border no matter if the gameplay is windowed or maximized [looks great until any hp/mp is depleted, resulting in a jet lack bar of malice in the middle of ones screen]

    -I've tried taking kgpanels setting a 0% opacity as the background and scaling the frame down until i have the pixel border just right, which is exactly what it is: just right, until i window my gameplay- promptly warping the borders out of resolution and cause blurry borders or double thick pixel border. and of course that simply won't do

    Haha wow yellowstone, you're so cool i totally know what you mean what can i do to help?
    So, now the question remains: is having excellent taste always going to be this difficult, am i just stuck with frustrating long nights straining on the edge of my chair trying to see if that really is one pixel or two?? via kgpanels, insetting or what have you?

    or is there something any of you know about that could make my [ui]life any easier? if it's any help i use stuf unit frames


    *edit*


  2. #2

    Re: The 1pixel black border dilema

    Post your UI plox

  3. #3

    Re: The 1pixel black border dilema

    Well now i tihnk i know what you mean, but that looks pretty cool anyways ^^

  4. #4

    Re: The 1pixel black border dilema

    I think I know what you're looking for, at least this is how I do it.

    Addon used: Pitbull and KgPanels

    First go into your unit-frame settings and turn the border and background opacity to 0%.
    [img width=400]http://img132.imageshack.us/img132/1789/wowscrnshot091209014311.jpg[/img]

    Then go into KgPanels and make a new panel which will be your border. Make sure you turn off borders on the pannel.
    [img width=400]http://img38.imageshack.us/img38/4160/wowscrnshot091209014400.jpg[/img]

    Turn the background color of your panel to black (100%) and set the opacity also to 100%.
    [img width=400]http://img44.imageshack.us/img44/3064/wowscrnshot091209014426.jpg[/img]

    Use this macro:
    Code:
    /script DEFAULT_CHAT_FRAME:AddMessage( GetMouseFocus():GetName() );
    Hover your mouse over the frame you making the border for and use the macro, a name will show in the chat. Copy that name into both "Parent Frame" and "Anchor Frame".
    [img width=400]http://img6.imageshack.us/img6/8358/wowscrnshot091209014716.jpg[/img]

    Now move your panel under the unit-frame and resize it so only 1 pixel will show on either side. Then lock the panel.
    [img width=400]http://img38.imageshack.us/img38/160/wowscrnshot091209014929.jpg[/img]

    Now you should be finished.
    [img width=400]http://img6.imageshack.us/img6/3462/wowscrnshot091209015003.jpg[/img]


    Hope that helps.

    [edit]
    Forgot one thing. When you size your panel you ofter get something like 325.258639456 as the hight or width of your panel. I would recommend just taking that number down to the nearest whole number. (removing the decimals in other words)
    325.258639456 would then be 325

    Makes it even more clean

  5. #5

    Re: The 1pixel black border dilema

    What 15minutes in Stuf got me:

    http://i108.photobucket.com/albums/n...209_020447.jpg

    http://i108.photobucket.com/albums/n...209_020506.jpg

    Used the square outline border that follows with the addon, but I'm afraid that is the thinest I could get it, but I think you easily should be able to copy the 1px-border you made by placing it in the media folder inside the Stuf folder, that way you prolly could get the one you want.

    Also had a problem with the target power bar, that's as thin as I could get it without the border making crosses at the corners.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •