[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-commits
Subject:    [haiku-commits] haiku: hrev45926 - src/kits/interface
From:       humdingerb () googlemail ! com
Date:       2013-07-29 16:59:53
Message-ID: 20130729165953.1A4195C0BE2 () vmrepo ! haiku-os ! org
[Download RAW message or body]

hrev45926 adds 1 changeset to branch 'master'
old head: 46f7a54d8c545ff61d59d6b336232d2b65c3b1fd
new head: be92485f65a70a34be8da9e53b5087d35c91aa66
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=be92485+%5E46f7a54

----------------------------------------------------------------------------

be92485: 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...

                                        [ Humdinger <humdingerb@gmail.com> ]

----------------------------------------------------------------------------

Revision:    hrev45926
Commit:      be92485f65a70a34be8da9e53b5087d35c91aa66
URL:         http://cgit.haiku-os.org/haiku/commit/?id=be92485
Author:      Humdinger <humdingerb@gmail.com>
Date:        Mon Jul 29 16:56:46 2013 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/kits/interface/TextControl.cpp | 2 +-

----------------------------------------------------------------------------

diff --git a/src/kits/interface/TextControl.cpp b/src/kits/interface/TextControl.cpp
index 05ba91b..ee77dec 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));
 }
 
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic