[Libreoffice-commits] .: sc/source

Andras Timar timar at kemper.freedesktop.org
Sun Jul 8 12:42:56 PDT 2012


 sc/source/ui/condformat/colorformat.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 9a7e4eac50523df3f24008430340635d7b870328
Author: Andras Timar <atimar at suse.com>
Date:   Sun Jul 8 21:42:06 2012 +0200

    fix layout issue on Data Bar dialog
    
    Change-Id: I6bdc5bbbf5e48b5b62562c46afe7f76f3b21a60e

diff --git a/sc/source/ui/condformat/colorformat.cxx b/sc/source/ui/condformat/colorformat.cxx
index 71b88c9..867f29f 100644
--- a/sc/source/ui/condformat/colorformat.cxx
+++ b/sc/source/ui/condformat/colorformat.cxx
@@ -222,8 +222,7 @@ void ScDataBarSettingsDlg::Init()
     }
     maBtnOk.SetClickHdl( LINK( this, ScDataBarSettingsDlg, OkBtnHdl ) );
 
-    Point aPoint = maLbTypeMax.GetPosPixel();
-    aPoint.Y() += 50;
+    Point aPoint(maLbTypeMax.GetPosPixel().X(), maFtMax.GetPosPixel().Y());
     maLbTypeMax.SetPosPixel(aPoint);
 
     maLbTypeMin.SetSelectHdl( LINK( this, ScDataBarSettingsDlg, TypeSelectHdl ) );


More information about the Libreoffice-commits mailing list