Changeset 3413
- Timestamp:
- 04/22/09 10:58:03 (4 years ago)
- Location:
- CKEditor/trunk/_source
- Files:
-
- 5 edited
-
plugins/dialog/plugin.js (modified) (1 diff)
-
plugins/dialogui/plugin.js (modified) (1 diff)
-
plugins/table/dialogs/table.js (modified) (18 diffs)
-
skins/office2003/dialog.css (modified) (1 diff)
-
skins/v2/dialog.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/_source/plugins/dialog/plugin.js
r3409 r3413 740 740 expand : !!contents.expand, 741 741 padding : contents.padding, 742 style : 'width: 100%; height: 100%;'742 style : contents.style || 'width: 100%; height: 100%;' 743 743 }, pageHtml ); 744 744 -
CKEditor/trunk/_source/plugins/dialogui/plugin.js
r3309 r3413 133 133 _.labelId, 134 134 '" >', 135 CKEDITOR.tools.htmlEncode( elementDefinition.label ),135 elementDefinition.label, 136 136 '</div>', 137 137 '<div class="cke_dialog_ui_labeled_content">', -
CKEditor/trunk/_source/plugins/table/dialogs/table.js
r3333 r3413 23 23 return { 24 24 title : editor.lang.table.title, 25 minWidth : 430,26 minHeight : 180,25 minWidth : 250, 26 minHeight : CKEDITOR.env.ie ? 280 : 265, 27 27 onShow : function() 28 28 { … … 199 199 id : 'info', 200 200 label : editor.lang.table.title, 201 accessKey : 'I',202 201 elements : 203 202 [ 204 203 { 205 204 type : 'hbox', 206 widths : [ '40%', '10%', '60%' ], 205 widths : [ null, '1%' ], 206 styles : [ 'vertical-align:top' ], 207 207 children : 208 208 [ … … 214 214 { 215 215 type : 'text', 216 id : 'txtRows', 217 labelLayout : 'horizontal', 218 widths : [ '60%','40%' ], 219 style : 'width:105px', 216 id : 'txtRows', 220 217 'default' : 3, 221 218 label : editor.lang.table.rows, 219 style : 'width:5em', 222 220 validate : function() 223 221 { … … 242 240 type : 'text', 243 241 id : 'txtCols', 244 labelLayout : 'horizontal',245 widths : [ '60%','40%' ],246 style : 'width:105px',247 242 'default' : 2, 248 243 label : editor.lang.table.columns, 244 style : 'width:5em', 249 245 validate : function() 250 246 { … … 267 263 }, 268 264 { 265 type : 'html', 266 html : ' ' 267 }, 268 { 269 269 type : 'select', 270 270 id : 'selHeaders', 271 labelLayout : 'horizontal',272 271 'default' : '', 273 widths : [ '40%', '60%' ],274 272 label : editor.lang.table.headers, 275 273 items : … … 308 306 type : 'text', 309 307 id : 'txtBorder', 310 labelLayout : 'horizontal',311 widths : [ '60%','40%' ],312 style : 'width:105px',313 308 'default' : 1, 314 309 label : editor.lang.table.border, 310 style : 'width:3em', 315 311 validate : CKEDITOR.dialog.validate['number']( editor.lang.table.invalidBorder ), 316 312 setup : function( selectedTable ) … … 329 325 id : 'cmbAlign', 330 326 type : 'select', 331 labelLayout : 'horizontal',332 327 'default' : '', 333 widths : [ '40%','60%' ],334 328 label : editor.lang.table.align, 335 329 items : … … 355 349 }, 356 350 { 357 type : 'html',358 align : 'right',359 html : ''360 },361 {362 351 type : 'vbox', 363 align : 'right',364 352 padding : 0, 365 353 children : … … 367 355 { 368 356 type : 'hbox', 369 align : 'center', 370 widths : [ '70%', '30%' ], 357 widths : [ '5em' ], 371 358 children : 372 359 [ … … 374 361 type : 'text', 375 362 id : 'txtWidth', 376 labelLayout : 'horizontal', 377 widths : [ '50%','50%' ], 363 style : 'width:5em', 378 364 label : editor.lang.table.width, 379 365 'default' : 200, … … 390 376 id : 'cmbWidthType', 391 377 type : 'select', 392 labelLayout : 'horizontal', 393 widths : [ '0%','100%' ], 394 label : '', 378 label : ' ', 395 379 'default' : 'pixels', 396 380 items : … … 411 395 { 412 396 type : 'hbox', 413 widths : [ ' 70%', '30%' ],397 widths : [ '5em' ], 414 398 children : 415 399 [ … … 417 401 type : 'text', 418 402 id : 'txtHeight', 419 labelLayout : 'horizontal', 420 widths : [ '50%','50%' ], 403 style : 'width:5em', 421 404 label : editor.lang.table.height, 422 405 'default' : '', … … 432 415 { 433 416 type : 'html', 434 html : editor.lang.table.widthPx417 html : '<br />' + editor.lang.table.widthPx 435 418 } 436 419 ] … … 443 426 type : 'text', 444 427 id : 'txtCellSpace', 445 labelLayout : 'horizontal', 446 widths : [ '50%','50%' ], 447 style : 'width:140px', 428 style : 'width:3em', 448 429 label : editor.lang.table.cellSpace, 449 430 'default' : 1, … … 464 445 type : 'text', 465 446 id : 'txtCellPad', 466 labelLayout : 'horizontal', 467 widths : [ '50%','50%' ], 468 style : 'width:140px', 447 style : 'width:3em', 469 448 label : editor.lang.table.cellPad, 470 449 'default' : 1, … … 497 476 [ 498 477 { 499 id : 'txtCaption',500 478 type : 'text', 501 479 label : editor.lang.table.caption, 502 widths : [ '30%','70%' ],503 labelLayout : 'horizontal',504 'default' : '',505 style : 'width:400px',506 480 setup : function( selectedTable ) 507 481 { … … 544 518 }, 545 519 { 546 id : 'txtSummary',547 520 type : 'text', 548 labelLayout : 'horizontal',549 521 label : editor.lang.table.summary, 550 'default' : '',551 widths : [ '30%','70%' ],552 accessKey : 'A',553 style : 'width:400px',554 522 setup : function( selectedTable ) 555 523 { -
CKEditor/trunk/_source/skins/office2003/dialog.css
r3412 r3413 324 324 } 325 325 326 .cke_skin_office2003 .cke_dialog_ui_hbox_first, 327 .cke_skin_office2003 .cke_dialog_ui_hbox_child, 328 .cke_skin_office2003 .cke_dialog_ui_hbox_last 329 { 330 vertical-align: top; 331 } 332 333 .cke_skin_office2003 .cke_ltr .cke_dialog_ui_hbox_first, 334 .cke_skin_office2003 .cke_ltr .cke_dialog_ui_hbox_child 335 { 336 padding-right: 10px; 337 } 338 326 339 .cke_skin_office2003 .cke_rtl .cke_dialog_ui_hbox_first, 327 340 .cke_skin_office2003 .cke_rtl .cke_dialog_ui_hbox_child 328 341 { 329 342 padding-left: 10px; 330 vertical-align: top;331 343 } 332 344 -
CKEditor/trunk/_source/skins/v2/dialog.css
r3412 r3413 321 321 } 322 322 323 .cke_skin_v2 .cke_dialog_ui_hbox_first, 324 .cke_skin_v2 .cke_dialog_ui_hbox_child, 325 .cke_skin_v2 .cke_dialog_ui_hbox_last 326 { 327 vertical-align: top; 328 } 329 330 .cke_skin_v2 .cke_ltr .cke_dialog_ui_hbox_first, 331 .cke_skin_v2 .cke_ltr .cke_dialog_ui_hbox_child 332 { 333 padding-right: 10px; 334 } 335 323 336 .cke_skin_v2 .cke_rtl .cke_dialog_ui_hbox_first, 324 337 .cke_skin_v2 .cke_rtl .cke_dialog_ui_hbox_child 325 338 { 326 339 padding-left: 10px; 327 vertical-align: top;328 340 } 329 341
Note: See TracChangeset
for help on using the changeset viewer.
