Skip to content

Commit

Permalink
maxwidth shizznizz (see previouscommits)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jan 25, 2017
1 parent f79c58d commit 982d657
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ end

-- Wife percent
t[#t+1] = LoadFont("Common Large")..{
InitCommand=cmd(xy,frameX+5,frameY+9;zoom,0.45;halign,0;valign,0),
InitCommand=cmd(xy,frameX+5,frameY+9;zoom,0.45;halign,0;valign,0;maxwidth,capWideScale(280,320)),
BeginCommand=cmd(queuecommand,"Set"),
SetCommand=function(self)
self:diffuse(getGradeColor(pss:GetWifeGrade()))
Expand All @@ -287,7 +287,7 @@ end

-- DP percent
t[#t+1] = LoadFont("Common Large")..{
InitCommand=cmd(xy,frameX+5,frameY+34;zoom,0.45;halign,0;valign,0),
InitCommand=cmd(xy,frameX+5,frameY+34;zoom,0.45;halign,0;valign,0;maxwidth,capWideScale(280,320)),
BeginCommand=cmd(queuecommand,"Set"),
SetCommand=function(self)
self:diffuse(getGradeColor(pss:GetGrade()))
Expand Down

0 comments on commit 982d657

Please sign in to comment.