From be92485f65a70a34be8da9e53b5087d35c91aa66 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Mon, 29 Jul 2013 18:56:46 +0200 Subject: [PATCH] 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... --- src/kits/interface/TextControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/TextControl.cpp b/src/kits/interface/TextControl.cpp index 05ba91b6ba..ee77dec9f1 100644 --- a/src/kits/interface/TextControl.cpp +++ b/src/kits/interface/TextControl.cpp @@ -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)); }