diff ObjectiveTracker/Layout.lua @ 55:dd9b5f59632c v1.0a-release

Core - updated comment notes Objectives - force hide blocks when their tracker is hidden Clock - convert clock into its own module - display zone coordinates alongside time
author Nenue
date Fri, 10 Jun 2016 20:52:27 -0400
parents ed74c5cabe98
children f253baf6022d
line wrap: on
line diff
--- a/ObjectiveTracker/Layout.lua	Wed Jun 01 20:48:14 2016 -0400
+++ b/ObjectiveTracker/Layout.lua	Fri Jun 10 20:52:27 2016 -0400
@@ -76,7 +76,7 @@
 local widgetTextFont, widgetTextSize, widgetTextOutline = [[Interface\Addons\SharedMedia_MyMedia\font\XOIREQE.TTF]], 11, 'OUTLINE'
 local widgetTextColor = {1,1,1,1 }
 local widgetHeight, widgetBorder = 17, 1
-
+local widgetWidth = 250
 
 local selectionbg = {'HORIZONTAL', 1, 1, 1, 0, 1, 1, 1, 0.225}
 local titleSpacing, textSpacing, blockSpacing = 3, 3, 1
@@ -611,6 +611,7 @@
     self:SetMinMaxValues(0, self.maxValue)
 
     self:SetHeight(widgetHeight)
+    self:SetWidth(widgetWidth)
     self.height = widgetHeight
 
     self.status:SetFont(widgetTextFont, widgetTextSize, widgetTextOutline)