-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FlxInputText background bug when text is empty #47
Comments
Putting a space in there should probably fix this issue... |
This is an input for user and caused bad user experience. |
Put a text, refresh the height, and set text back to "" :-P Just kidding this is a bug and needs to be fixed... |
Yeah, I should fix this. On Tue, Mar 25, 2014 at 11:09 PM, Samuel Batista
www.fortressofdoors.com -- Games, Art, Design |
This is a temp fix for me FlxText: private function regenGraphics():Void
{
//...
// Account for 2px gutter on top and bottom (that's why there is "+ 4")
var newHeight:Float = _textField.textHeight + _heightInc + 4;
if (newHeight < size + 6) newHeight = size + 6; //fix empty text height
//...
} |
This is actuallly not a bug with flixel-ui, but flixel / |
So should we close this and redirect to the bug in FlxText? |
Didn't we fix this here? HaxeFlixel/flixel@cda9a70 |
Yeah pretty sure we did. |
I'm going to close this for now. |
With text:
Empty text:
The text was updated successfully, but these errors were encountered: