rem:  dialog.widthInput.value = InitPixelOrPercentPopupButton(globalElement, "width", "pixelOrPercentButton"); 
add:  dialog.widthInput.value = InitPixelOrPercentCombobox(globalElement,"width","pixelOrPercentSelect");  window.sizeToContent(); 
context: function InitDialog(){  // Just to be confusing, "size" is used instead of height  // We will use "height" here and in UI  dialog.heightInput.value = globalElement.getAttribute("size");  // Get the width attribute of the element, stripping out "%"  // This sets contents of button text and "percentChar" variable  dialog.widthInput.value = InitPixelOrPercentPopupButton(globalElement, "width", "pixelOrPercentButton");  align = globalElement.getAttribute("align");  if (align == "center") {    dialog.centerAlign.checked = true;  } else if (align == "right") {    dialog.rightAlign.checked = true;  } else {    dialog.leftAlign.checked = true;  }  noshade = globalElement.getAttribute("noshade");  dialog.shading.checked = (noshade == "");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/711c0f72c9655c2558d43bb716847f1a294b8372/EdHLineProps.js/buggy/editor/ui/dialogs/content/EdHLineProps.js