Fixed default vertical alignment of BTextControl.

Courtesy of Rene who broke it a while back and remote
controlled me on IRC to commit the fix...
This commit is contained in:
Humdinger
2013-07-29 18:56:46 +02:00
parent 46f7a54d8c
commit be92485f65
+1 -1
View File
@@ -857,7 +857,7 @@ BTextControl::LayoutAlignment()
_ValidateLayoutData();
return BLayoutUtils::ComposeAlignment(ExplicitAlignment(),
BAlignment(B_ALIGN_LEFT, B_ALIGN_VERTICAL_UNSET));
BAlignment(B_ALIGN_LEFT, B_ALIGN_VERTICAL_CENTER));
}