Hi here is the patch for bug fdo#41310 - Need more room for localized
string.

I resized the dialog box 30 units to the right, and the objects were ajusted
accordingly.

I have measured for a fontsize of 10.

I have no Windows nor Mac box to test the patch.

Regards
-- 
Olivier Hallot
Founder and Steering Commitee Member
The Document Foundation
From eca17fedb3051140913063d74813735bb05260d5 Mon Sep 17 00:00:00 2001
From: Olivier Hallot <olivier.hal...@alta.org.br>
Date: Thu, 29 Sep 2011 21:13:11 -0300
Subject: [PATCH] Fix for bug fdo#41310 - Need more room for localized string

The following patch resizes the sheet protection dialog to
display localized strings without truncation

Sizes adjusted for fontsize = 10
---
 sc/source/ui/miscdlgs/protectiondlg.src |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sc/source/ui/miscdlgs/protectiondlg.src b/sc/source/ui/miscdlgs/protectiondlg.src
index aca43c6..ca4e9be 100644
--- a/sc/source/ui/miscdlgs/protectiondlg.src
+++ b/sc/source/ui/miscdlgs/protectiondlg.src
@@ -31,24 +31,24 @@ ModalDialog RID_SCDLG_TABPROTECTION
 {
     HelpID = "sc:ModalDialog:RID_SCDLG_TABPROTECTION";
     Text [ en-US ] = "Protect Sheet" ;
-    Size = MAP_APPFONT ( 220 , 135 ) ;
+    Size = MAP_APPFONT ( 250 , 135 ) ;
     Moveable = TRUE ;
     Closeable = TRUE ;
 
     OKButton BTN_OK
     {
-        Pos = MAP_APPFONT ( 164 , 6 ) ;
+        Pos = MAP_APPFONT ( 194 , 6 ) ;
         Size = MAP_APPFONT ( 50 , 14 ) ;
         DefButton = TRUE ;
     };
     CancelButton BTN_CANCEL
     {
-        Pos = MAP_APPFONT ( 164 , 23 ) ;
+        Pos = MAP_APPFONT ( 194 , 23 ) ;
         Size = MAP_APPFONT ( 50 , 14 ) ;
     };
     HelpButton BTN_HELP
     {
-        Pos = MAP_APPFONT ( 164 , 43 ) ;
+        Pos = MAP_APPFONT ( 194 , 43 ) ;
         Size = MAP_APPFONT ( 50 , 14 ) ;
     };
 
@@ -56,7 +56,7 @@ ModalDialog RID_SCDLG_TABPROTECTION
     {
         HelpID = "sc:CheckBox:RID_SCDLG_TABPROTECTION:BTN_PROTECT";
         Pos = MAP_APPFONT ( 6 , 6 ) ;
-        Size = MAP_APPFONT ( 150 , 10 );
+        Size = MAP_APPFONT ( 180 , 10 );
 
         Text [ en-US ] = "P~rotect this sheet and the contents of protected cells" ;
     };
@@ -98,7 +98,7 @@ ModalDialog RID_SCDLG_TABPROTECTION
     FixedLine FL_OPTIONS
     {
         Pos = MAP_APPFONT ( 6, 60 );
-        Size = MAP_APPFONT ( 150, 8 );
+        Size = MAP_APPFONT ( 180, 8 );
 
         Text [ en-US ] = "Options";
     };
-- 
1.7.4.1

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to