Beeblerox/HaxeFlixel — Issue #19: Label doesn't drawing for the first FlxButton in state (in cpp)
Author: Beeblerox
Created: 2011-12-14 06:04:19+00:00
State: open

for fixing this issue you have to set text format for this button. For example
quitBtn = new FlxButton(x, y, "Quit", onClick);
quitBtn.label.setFormat(null, 8, 0x333333, "center");
add(quitBtn);