[PATCH] Improve size and positions of widgets for CustomAnimationDia...

Xiaoli Duan (via Code Review) gerrit at gerrit.libreoffice.org
Sat Mar 23 07:21:30 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2932

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/32/2932/1

Improve size and positions of widgets for CustomAnimationDialog

Change-Id: I38a9cbd533c742657c4af6c83d146706684c1ff6
---
M sd/source/ui/animations/CustomAnimationDialog.src
1 file changed, 3 insertions(+), 3 deletions(-)



diff --git a/sd/source/ui/animations/CustomAnimationDialog.src b/sd/source/ui/animations/CustomAnimationDialog.src
index 5a7ea0f..89d90db 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.src
+++ b/sd/source/ui/animations/CustomAnimationDialog.src
@@ -613,7 +613,7 @@
     ListBox LB_GROUP_TEXT
     {
         HelpID = "sd:ListBox:RID_TP_CUSTOMANIMATION_TEXT:LB_GROUP_TEXT";
-        Pos = MAP_APPFONT ( X2 , 3 ) ;
+        Pos = MAP_APPFONT ( (WIDTH-W2-65), 3 ) ;
         Size = MAP_APPFONT ( W2, 48 );
         TabStop = TRUE ;
         Border = TRUE ;
@@ -635,7 +635,7 @@
     {
         HelpID = "sd:CheckBox:RID_TP_CUSTOMANIMATION_TEXT:CBX_GROUP_AUTO";
         Pos = MAP_APPFONT ( X0 , 20  ) ;
-        Size = MAP_APPFONT ( W0 , 10 ) ;
+        Size = MAP_APPFONT ( W1  , 10 ) ;
         TabStop = TRUE ;
         Text [ en-US ] = "Automatically after" ;
     };
@@ -644,7 +644,7 @@
     MetricField MF_GROUP_AUTO
     {
         HelpID = "sd:MetricField:RID_TP_CUSTOMANIMATION_TEXT:MF_GROUP_AUTO";
-        Pos = MAP_APPFONT ( X2 , 18 ) ;
+        Pos = MAP_APPFONT ( (WIDTH-W2-65) , 20 ) ;
         Size = MAP_APPFONT ( W2, 12 );
         Border = TRUE ;
         TabStop = TRUE ;

-- 
To view, visit https://gerrit.libreoffice.org/2932
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I38a9cbd533c742657c4af6c83d146706684c1ff6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Xiaoli Duan <duan19002009 at gmail.com>



More information about the LibreOffice mailing list