big filter style change

This commit is contained in:
Manuel Simon Hirsig
2016-08-16 00:30:29 +02:00
parent 1ef3c07baa
commit d1cd3bbd53
7 changed files with 42 additions and 38 deletions
+3 -2
View File
@@ -54,7 +54,7 @@ function private.create_frames()
do
local panel = CreateFrame('Frame', nil, m.frame)
panel:SetBackdrop{bgFile=[[Interface\Buttons\WHITE8X8]]}
panel:SetBackdropColor(unpack(aux.gui.color.content.backdrop))
panel:SetBackdropColor(unpack(aux.gui.color.content.background))
panel:SetPoint('LEFT', m.settings_button, 'RIGHT', 0, 0)
panel:SetPoint('RIGHT', 0, 0)
panel:SetHeight(42)
@@ -565,7 +565,7 @@ function private.create_frames()
input:SetPoint('LEFT', m.filter_dropdown, 'RIGHT', 10, 0)
input:SetWidth(150)
input:SetScript('OnTabPressed', function()
m.filter_parameter_input:SetFocus()
m.filter_input:SetFocus()
end)
input:SetScript('OnChar', function()
this:complete()
@@ -609,6 +609,7 @@ function private.create_frames()
local scroll_child = CreateFrame('SimpleHTML', nil, scroll_frame)
scroll_frame:SetScrollChild(scroll_child)
scroll_child:SetFont('p', [[Fonts\ARIALN.TTF]], 23)
scroll_child:SetTextColor('p', aux.gui.color.label.enabled())
scroll_child:SetWidth(1)
scroll_child:SetHeight(1)
scroll_child:SetScript('OnHyperlinkClick', m.data_link_click)