Index: /CKEditor/branches/prototype/_source/plugins/dialog/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/dialog/plugin.js	(revision 2678)
+++ /CKEditor/branches/prototype/_source/plugins/dialog/plugin.js	(revision 2679)
@@ -1642,5 +1642,5 @@
 				if ( elementDefinition && elementDefinition.expand )
 					html.push( 'height:100%;' );
-				html.push( 'width:' + fixLength( elementDefinition && elementDefinition.width || '100%' ), ';' );
+				html.push( 'width:' + fixLength( width || '100%' ), ';' );
 				html.push( '"' );
 				html.push( 'align="', CKEDITOR.tools.htmlEncode(
Index: /CKEditor/branches/prototype/_source/plugins/dialogui/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/dialogui/plugin.js	(revision 2678)
+++ /CKEditor/branches/prototype/_source/plugins/dialogui/plugin.js	(revision 2679)
@@ -87,13 +87,36 @@
 					var html = [];
 					if ( elementDefinition.labelLayout != 'horizontal' )
-						html.push( '<div class="cke_dialog_ui_labeled_label" id="', _.labelId, '" >',
-							CKEDITOR.tools.htmlEncode( elementDefinition.label ),
-							'</div>' );
-					html.push( '<div class="cke_dialog_ui_labeled_content">',
-						elementDefinition.labelLayout == 'horizontal'
-							? '<span class="cke_dialog_ui_labeled_label">' + CKEDITOR.tools.htmlEncode( elementDefinition.label ) + '</span> '
-							: '',
-						contentHtml( dialog, elementDefinition ),
-						'</div>' );
+						html.push( '<div class="cke_dialog_ui_labeled_label" id="',
+								_.labelId,
+								'" >',
+								CKEDITOR.tools.htmlEncode( elementDefinition.label ),
+								'</div>',
+								'<div class="cke_dialog_ui_labeled_content">',
+								contentHtml( dialog, elementDefinition ),
+								'</div>' );
+					else
+					{
+						var hboxDefinition = {
+							type : 'hbox',
+							widths : elementDefinition.widths,
+							padding : 0,
+							children :
+							[
+								{
+									type : 'html',
+									html : '<span class="cke_dialog_ui_labeled_label" ' + 
+										'id="' + _.labelId + '">' +  CKEDITOR.tools.htmlEncode( elementDefinition.label ) +
+										'</span>'
+								},
+								{
+									type : 'html',
+									html : '<span class="cke_dialog_ui_labeled_content">' +
+										contentHtml( dialog, elementDefinition ) +
+										'</span>'
+								}
+							]
+						};
+						CKEDITOR.dialog._.uiElementBuilders.hbox.build( dialog, hboxDefinition, html );
+					}
 					return html.join( '' );
 				};
Index: /CKEditor/branches/prototype/_source/plugins/link/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/link/plugin.js	(revision 2678)
+++ /CKEditor/branches/prototype/_source/plugins/link/plugin.js	(revision 2679)
@@ -213,38 +213,16 @@
 									[
 										{
-											type : 'hbox',
-											padding : 0,
+											'type' : 'text',
 											widths : [ '30%', '70%' ],
-											children : 
-											[
-												{
-													'type' : 'html',
-													html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.linkPopupWidth ) + '</span>'
-												},
-												{
-													'type' : 'text',
-													labelLayout : 'horizontal',
-													label : '',
-													id : 'popupWidth'
-												}
-											]
-										},
-										{
-											type : 'hbox',
-											padding : 0,
+											labelLayout : 'horizontal',
+											label : editor.lang.linkPopupWidth,
+											id : 'popupWidth'
+										},
+										{
+											'type' : 'text',
+											labelLayout : 'horizontal',
 											widths : [ '55%', '45%' ],
-											children : 
-											[
-												{
-													'type' : 'html',
-													html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.linkPopupLeft ) + '</span>'
-												},
-												{
-													'type' : 'text',
-													labelLayout : 'horizontal',
-													label : '',
-													id : 'popupLeft'
-												}
-											]
+											label : editor.lang.linkPopupLeft,
+											id : 'popupLeft'
 										}
 									]
@@ -255,40 +233,17 @@
 									[
 										{
-											type : 'hbox',
-											padding : 0,
+											'type' : 'text',
+											labelLayout : 'horizontal',
 											widths : [ '30%', '70%' ],
-											children : 
-											[
-												{
-													'type' : 'html',
-													html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.linkPopupHeight ) + '</span>'
-												},
-												{
-													'type' : 'text',
-													labelLayout : 'horizontal',
-													label : '',
-													id : 'popupHeight'
-												}
-											]
-										},
-										{
-											type : 'hbox',
-											padding : 0,
+											label : editor.lang.linkPopupHeight,
+											id : 'popupHeight'
+										},
+										{
+											'type' : 'text',
+											labelLayout : 'horizontal',
+											label : editor.lang.linkPopupTop,
 											widths : [ '55%', '45%' ],
-											children : 
-											[
-												{
-													'type' : 'html',
-													html : '<span>' + CKEDITOR.tools.htmlEncode( editor.lang.linkPopupTop ) + '</span>'
-												},
-												{
-													'type' : 'text',
-													labelLayout : 'horizontal',
-													label : '',
-													id : 'popupTop'
-												}
-											]
-										}
-
+											id : 'popupTop'
+										}
 									]
 								}
