Skip to content
Browse files

Fix slider fonts

  • Loading branch information...
1 parent e261cd6 commit 44266c8b67b62aebdd44be50a543bafb562343be @tekkub committed Mar 15, 2008
Showing with 4 additions and 4 deletions.
  1. +4 −4 tekKonfigSlider.lua
View
8 tekKonfigSlider.lua
@@ -1,5 +1,5 @@
-local lib, oldminor = LibStub:NewLibrary("tekKonfig-Slider", 1)
+local lib, oldminor = LibStub:NewLibrary("tekKonfig-Slider", 2)
if not lib then return end
@@ -40,15 +40,15 @@ function lib.new(parent, label, lowvalue, highvalue, ...)
slider:SetThumbTexture("Interface\\Buttons\\UI-SliderBar-Button-Horizontal") -- Dim: 32x32... can't find API to set this?
slider:SetBackdrop(HorizontalSliderBG)
- local text = slider:CreateFontString(nil, "ARTWORK", "GameFontHighlight")
+ local text = slider:CreateFontString(nil, "ARTWORK", "GameFontNormal")
text:SetPoint("BOTTOM", slider, "TOP")
text:SetText(label)
- local low = slider:CreateFontString(nil, "ARTWORK", "GameFontNormalSmall")
+ local low = slider:CreateFontString(nil, "ARTWORK", "GameFontHighlightSmall")
low:SetPoint("TOPLEFT", slider, "BOTTOMLEFT", -4, 3)
low:SetText(lowvalue)
- local high = slider:CreateFontString(nil, "ARTWORK", "GameFontNormalSmall")
+ local high = slider:CreateFontString(nil, "ARTWORK", "GameFontHighlightSmall")
high:SetPoint("TOPRIGHT", slider, "BOTTOMRIGHT", 4, 3)
high:SetText(highvalue)

0 comments on commit 44266c8

Please sign in to comment.
Something went wrong with that request. Please try again.