diff --git a/tables/item_listing.lua b/tables/item_listing.lua index b882d65..c2efb3e 100644 --- a/tables/item_listing.lua +++ b/tables/item_listing.lua @@ -90,8 +90,8 @@ function public.create(parent, on_click, on_enter, on_leave, selected) row.item = Aux.gui.item(row) row.item:EnableMouse(nil) row.item:SetScale(0.9) - row.item:SetPoint('LEFT', 2, 0) - row.item:SetPoint('RIGHT', 2, 0) + row.item:SetPoint('LEFT', 2.5, 0) + row.item:SetPoint('RIGHT', -2.5, 0) row:RegisterForClicks('LeftButtonUp', 'RightButtonUp') local highlight = row:CreateTexture() diff --git a/tables/listing.lua b/tables/listing.lua index c5f3538..2989dc9 100644 --- a/tables/listing.lua +++ b/tables/listing.lua @@ -363,10 +363,10 @@ local methods = { row:SetHeight(ST_ROW_HEIGHT) local rowNum = getn(st.rows) + 1 if rowNum == 1 then - row:SetPoint('TOPLEFT', 0, -(st.sizes.headHeight + ST_HEAD_SPACE)) + row:SetPoint('TOPLEFT', 2, -(st.sizes.headHeight + ST_HEAD_SPACE)) row:SetPoint('TOPRIGHT', 0, -(st.sizes.headHeight + ST_HEAD_SPACE)) else - row:SetPoint('TOPLEFT', 0, -(st.sizes.headHeight + ST_HEAD_SPACE + (rowNum - 1) * ST_ROW_HEIGHT)) + row:SetPoint('TOPLEFT', 2, -(st.sizes.headHeight + ST_HEAD_SPACE + (rowNum - 1) * ST_ROW_HEIGHT)) row:SetPoint('TOPRIGHT', 0, -(st.sizes.headHeight + ST_HEAD_SPACE + (rowNum - 1) * ST_ROW_HEIGHT)) end local highlight = row:CreateTexture() diff --git a/tabs/post/frames.lua b/tabs/post/frames.lua index 2aa2588..a478e6a 100644 --- a/tabs/post/frames.lua +++ b/tabs/post/frames.lua @@ -136,8 +136,8 @@ Aux.post_tab.FRAMES(function(m, public, private) ClearCursor() end) local highlight = item:CreateTexture() - highlight:SetPoint('TOPLEFT', -2, 2) - highlight:SetPoint('BOTTOMRIGHT', 2, -2) + highlight:SetPoint('TOPLEFT', -2.5, 2) + highlight:SetPoint('BOTTOMRIGHT', 2.5, -2) highlight:Hide() highlight:SetTexture(1, .9, .9, .1) item:SetScript('OnEnter', function()