JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.1
[ckeditor.git] / _source / plugins / docprops / dialogs / docprops.js
index f797547..bfd404b 100644 (file)
@@ -475,7 +475,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor )
                                                                        {\r
                                                                                type : 'hbox',\r
                                                                                widths : [ '60%', '40%' ],\r
-                                                                               padding : 0,\r
+                                                                               padding : 1,\r
                                                                                children : [\r
                                                                                        {\r
                                                                                                type : 'text',\r
@@ -511,7 +511,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor )
                                                                                                label : langCommon.browseServer,\r
                                                                                                style : 'display:inline-block;margin-top:10px;',\r
                                                                                                hidden : true,\r
-                                                                                               filebrowser : 'bg:bgImage'\r
+                                                                                               filebrowser : 'design:bgImage'\r
                                                                                        }\r
                                                                                ]\r
                                                                        },\r
@@ -546,7 +546,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor )
                                                                                id : 'marginTop',\r
                                                                                label : lang.marginTop,\r
                                                                                style : 'width: 80px; text-align: center; margin: 0px auto',\r
-                                                                               controlStyle : 'text-align: center',\r
+                                                                               inputStyle : 'text-align: center',\r
                                                                                setup : function( doc, html, head, body )\r
                                                                                {\r
                                                                                        this.setValue( body.getStyle( 'margin-top' ) || body.getAttribute( 'margintop' ) || '' );\r
@@ -565,7 +565,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor )
                                                                                                id : 'marginLeft',\r
                                                                                                label : lang.marginLeft,\r
                                                                                                style : 'width: 80px; text-align: center; margin: 0px auto',\r
-                                                                                               controlStyle : 'text-align: center',\r
+                                                                                               inputStyle : 'text-align: center',\r
                                                                                                setup : function( doc, html, head, body )\r
                                                                                                {\r
                                                                                                        this.setValue( body.getStyle( 'margin-left' ) || body.getAttribute( 'marginleft' ) || '' );\r
@@ -581,7 +581,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor )
                                                                                                id : 'marginRight',\r
                                                                                                label : lang.marginRight,\r
                                                                                                style : 'width: 80px; text-align: center; margin: 0px auto',\r
-                                                                                               controlStyle : 'text-align: center',\r
+                                                                                               inputStyle : 'text-align: center',\r
                                                                                                setup : function( doc, html, head, body )\r
                                                                                                {\r
                                                                                                        this.setValue( body.getStyle( 'margin-right' ) || body.getAttribute( 'marginright' ) || '' );\r
@@ -590,7 +590,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor )
                                                                                                onLoad : function()\r
                                                                                                {\r
                                                                                                        this.getElement().getParent().setStyle( 'text-align', 'center' );\r
-                                                                                               }\r
+                                                                                       }\r
                                                                                        }\r
                                                                                ]\r
                                                                        },\r
@@ -599,7 +599,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor )
                                                                                id : 'marginBottom',\r
                                                                                label : lang.marginBottom,\r
                                                                                style : 'width: 80px; text-align: center; margin: 0px auto',\r
-                                                                               controlStyle : 'text-align: center',\r
+                                                                               inputStyle : 'text-align: center',\r
                                                                                setup : function( doc, html, head, body )\r
                                                                                {\r
                                                                                        this.setValue( body.getStyle( 'margin-bottom' ) || body.getAttribute( 'marginbottom' ) || '' );\r
@@ -608,7 +608,7 @@ CKEDITOR.dialog.add( 'docProps', function( editor )
                                                                                onLoad : function()\r
                                                                                {\r
                                                                                        this.getElement().getParent().setStyle( 'text-align', 'center' );\r
-                                                                               }\r
+                                                                       }\r
                                                                        }\r
                                                                ]\r
                                                        }\r