Download

Special DrawText Scale using not works

Hi i want to ask why scale in DrawText (Draw FCanvasTextItem either) not works, always set the same scale. I create a base class UIObject and then a child class UIButton with a string called Caption and a function named RenderCaption that draws a text over an UIButton, works fine but i cant change the scale , being always the same no matter what scale i set

Anyone knows why? Could be because of the size of the button? I have to say that the size of the text dont fill the entire button space

Thanks

I ressolved by myselft hehehe, it was the Font, i change the UFont object and now works