[Libreoffice-commits] core.git: svx/source

Andras Timar andras.timar at collabora.com
Sat Nov 22 15:03:06 PST 2014


 svx/source/tbxctrls/layctrl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3a79d1c0001252483c695eed8e709304cd43ca84
Author: Andras Timar <andras.timar at collabora.com>
Date:   Sun Nov 23 00:01:07 2014 +0100

    some localizations (e.g. Slovenian) need more space for translated button text
    
    Change-Id: I407d8d92c9669f606e4f8fbb95a37932f8f14956

diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx
index 54213d1..ce72eb0 100644
--- a/svx/source/tbxctrls/layctrl.cxx
+++ b/svx/source/tbxctrls/layctrl.cxx
@@ -143,8 +143,8 @@ TableWindow::TableWindow( sal_uInt16 nSlotId, const OUString& rCmd, const OUStri
 
     SetText( rText );
 
-    aTableButton.SetPosSizePixel( Point( mnTablePosX + mnTableCellWidth, mnTableHeight + 5 ),
-            Size( mnTableWidth - mnTablePosX - 2*mnTableCellWidth, 24 ) );
+    aTableButton.SetPosSizePixel( Point( mnTablePosX, mnTableHeight + 5 ),
+            Size( mnTableWidth - mnTablePosX, 24 ) );
     aTableButton.SetText( SVX_RESSTR( RID_SVXSTR_MORE ) );
     aTableButton.SetClickHdl( LINK( this, TableWindow, SelectHdl ) );
     aTableButton.Show();


More information about the Libreoffice-commits mailing list