pretty input box
This commit is contained in:
@@ -82,11 +82,12 @@ function public.create(params)
|
||||
local scrollbar = getglobal(scroll_frame:GetName()..'ScrollBar')
|
||||
scrollbar:SetPoint('TOPLEFT', scroll_frame, 'TOPRIGHT', 6, -4)
|
||||
scrollbar:SetPoint('BOTTOMLEFT', scroll_frame, 'BOTTOMRIGHT', 6, 4)
|
||||
scrollbar:SetWidth(12)
|
||||
local thumbTex = scrollbar:GetThumbTexture()
|
||||
thumbTex:SetPoint('CENTER', 0, 0)
|
||||
thumbTex:SetTexture(42/255, 42/255, 42/255, 1)
|
||||
thumbTex:SetHeight(params.frame:GetHeight() * .4)
|
||||
thumbTex:SetWidth(scrollbar:GetWidth())
|
||||
thumbTex:SetHeight(50)
|
||||
thumbTex:SetWidth(12)
|
||||
local scrollbg = scrollbar:CreateTexture(nil, 'BACKGROUND')
|
||||
scrollbg:SetAllPoints(scrollbar)
|
||||
scrollbg:SetTexture(24/255, 24/255, 24/255, 1)
|
||||
|
||||
Reference in New Issue
Block a user