Commit 9df602c4 authored by ammo's avatar ammo
Browse files

add a small space between the image and the text of a label

git-svn-id: https://repos.wowace.com/wow/ace3/trunk@829 5debad98-a965-4143-8383-f471b3509dcf
parent d97769e5
......@@ -5,7 +5,7 @@ local AceGUI = LibStub("AceGUI-3.0")
--------------------------
do
local Type = "Label"
local Version = 10
local Version = 11
local function OnAcquire(self)
self:SetHeight(18)
......@@ -43,7 +43,7 @@ do
else
--image on the left
image:SetPoint("TOPLEFT",frame,"TOPLEFT",0,0)
label:SetPoint("TOPLEFT",image,"TOPRIGHT",0,0)
label:SetPoint("TOPLEFT",image,"TOPRIGHT",4,0)
label:SetWidth(width - imagewidth)
height = math.max(image:GetHeight(), label:GetHeight())
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment