edit/page: reposition table dimension fields in columns
[minimedit.git] / edit / page.js
index c9a6f1e93acc8e7ee5d40dd671047a3833dc8638..5e383835993ebd8f92034e8a1fdf75e275e84217 100644 (file)
@@ -58,6 +58,17 @@ CKEDITOR.on('dialogDefinition', function (event) {
                infotab.remove('txtCellSpace');
                infotab.remove('txtCellPad');
                infotab.remove('cmbAlign');
+
+               // horizontal repositioning of existing elements
+               var hbox = {
+                       id: 'hboxDimensions',
+                       type: 'hbox',
+                       children: [ infotab.get('txtCols'), infotab.get('txtRows') ],
+               };
+               infotab.add(hbox, 'selHeaders');
+               infotab.remove('txtCols');
+               infotab.remove('txtRows');
+
                break;
        case 'link':
                // hide unneeded widgets from the Link Info tab