[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - svx/source
Andras Timar
andras.timar at collabora.com
Sat Nov 22 15:02:11 PST 2014
svx/source/tbxctrls/layctrl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 55fc739b05dd9b6875d492f9d69796472b8cffce
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