Ticket #13378: 0001-Label-Alignment.-Fixes-13378.patch

File 0001-Label-Alignment.-Fixes-13378.patch, 693 bytes (added by anirudh, 8 years ago)

Fixes #13378

  • src/kits/interface/Alignment.cpp

    From 8621ebc8188de7f32d3ac5086fe86bba5ed3a5f6 Mon Sep 17 00:00:00 2001
    From: Anirudh M <m.anirudh18@gmail.com>
    Date: Mon, 27 Mar 2017 16:10:57 +0000
    Subject: [PATCH] Label Alignment. Fixes #13378
    
    ---
     src/kits/interface/Alignment.cpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/kits/interface/Alignment.cpp b/src/kits/interface/Alignment.cpp
    index 73470a8..42353ae 100644
    a b BAlignment::RelativeVertical() const  
    3232        case B_ALIGN_BOTTOM:
    3333            return 1;
    3434        case B_ALIGN_VERTICAL_CENTER:
    35             return 0.5f;
     35            return 0.25f;
    3636
    3737        default:
    3838            return (float)vertical;