Thread Tools Display Modes
02-10-12, 07:00 PM   #21
yj589794
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 314
Take a look at this part:
Code:
            local bars = CreateFrame("Frame", nil, self)
            bars:SetPoint("TOPRIGHT", self, "BOTTOMRIGHT", -2, 37)
	    bars:SetSize(160/count, 3)

            local i = count
            for index = 1, count do
                bars[i] = createStatusbar(bars, texture, nil, 14, (portraits and 160 or width)/count-5, 1, 1, 1, 1)
The green part sets the size of the frame that will hold holy power/soul shard/runes.

The blue part will set the size of each bar within the above frame. (looking at the createStatusbar function, the 4th parameter is bar height and the 5th parameter is bar width)

That should help you finish off your layout.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » ouf_freeb adjustment


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