makotok/Hanappe

Why Widget Button not set font?

Closed this issue · 3 comments

because it is not changing the font?
the button appears correct, but with another source

self._btComecar = Button {
fontName = "assets/fonts/SHOWG.TTF",
text = "COMEÇAR",
size = {400,83},
pos = {self:getWidth() / 2 - 200, self._menuPrincipalLabel:getBottom() + 15},
normalTexture = "assets/button-normal.png",
parent = self
}
tried so too:
self._btComecar:setFontName("SHOWG.TTF")

got it: 👍

using the self._btComecar:setStyle(name,value)

thank`s

Sorry, This is a bug.
I will fix later.

Fixed.