Why Widget Button not set font?
Closed this issue · 3 comments
hugohomesquita commented
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")
hugohomesquita commented
got it: 👍
using the self._btComecar:setStyle(name,value)
thank`s
makotok commented
Sorry, This is a bug.
I will fix later.
makotok commented
Fixed.