View Single Post
07/05/19, 02:11 PM   #1
Gandalf
 
Gandalf's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2016
Posts: 28
[fixed] Control(CT_LABEL):SetScale() poor text quality

Since Update 5.0.10 use SetScale on CT_LABEL control results in a poor text quality:

https://imgur.com/a/u2Fv0rh

Pls note the poor quality of 'Keeps, Outposts'.
The code to reproduce is quiet simple:

Code:
local wm = GetWindowManager()
local label =  wm:CreateControl("LBL070501", a_tlw, CT_LABEL)
label:SetFont("ZoFontGameMedium")
label:SetText("What ever you want")
label:SetScale(0.92) -- scale used in the picture
Scaling label controls with text worked flawless for more than four years till 5.0.10.
As of today it still works flawless on pre Update 23 PTS

Last edited by Gandalf : 07/15/19 at 10:11 AM.