makotok / Hanappe

Hanappe is a game framework for MOAI SDK.
Other
107 stars 41 forks source link

Why Widget Button not set font? #84

Closed hugohomesquita closed 11 years ago

hugohomesquita commented 11 years ago

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 11 years ago

got it: :+1:

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

thank`s

makotok commented 11 years ago

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

makotok commented 11 years ago

Fixed.