Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 07.08.2012 00:57, Joel Madero wrote:
I'll take care of these issues. I put 2 in one row because there is a
limit as to how many rows can be in the general tab and we've hit that
limit :-/

Hmm, what limit? =) See the attached diff (no ROWSPACE between row15 and row16 to keep it inside the visible area).

Best regards,
Ivan

diff --git a/cui/source/options/optgdlg.hrc b/cui/source/options/optgdlg.hrc
index f31ad53..a5436cb 100644
--- a/cui/source/options/optgdlg.hrc
+++ b/cui/source/options/optgdlg.hrc
@@ -49,8 +49,9 @@
 #define ROW11                   (ROW10+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
 #define ROW12                   (ROW11+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
 #define ROW13                   (ROW12+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
-#define ROW14                   (ROW13+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE+6)
-#define ROW15                   (ROW14+RSC_CD_CHECKBOX_HEIGHT+ROWSPACE)
+#define ROW14                   (ROW13+RSC_CD_TEXTBOX_HEIGHT+ROWSPACE)
+#define ROW15                   (ROW14+RSC_CD_FIXEDLINE_HEIGHT+ROWSPACE)
+#define ROW16                   (ROW15+RSC_CD_CHECKBOX_HEIGHT)
 
 #define DIFF(v1,v2)                     (v2-v1)
 #define OFFS_TEXTBOX_FIXEDTEXT(base)    (base+(RSC_CD_TEXTBOX_HEIGHT-RSC_CD_FIXEDTEXT_HEIGHT)/2)
diff --git a/cui/source/options/optgdlg.src b/cui/source/options/optgdlg.src
index f326d4b..9c7e9ad 100644
--- a/cui/source/options/optgdlg.src
+++ b/cui/source/options/optgdlg.src
@@ -175,7 +175,7 @@ TabPage OFA_TP_MISC
     };
     CheckBox CB_MACRORECORDER
     {
-        Pos = MAP_APPFONT( COL3, ROW15 );
+        Pos = MAP_APPFONT( COL1, ROW16 );
         Size = MAP_APPFONT( WHOLE_WIDTH - COL1, RSC_CD_CHECKBOX_HEIGHT );
         Text [ en-US ] = "Enable macro recording";
     };

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.