diff --git a/editor/ui/dialogs/content/EdImageProps.xul b/editor/ui/dialogs/content/EdImageProps.xul
index 1029a657239a..6b4379fcd099 100644
--- a/editor/ui/dialogs/content/EdImageProps.xul
+++ b/editor/ui/dialogs/content/EdImageProps.xul
@@ -41,8 +41,8 @@
@@ -51,16 +51,16 @@
|
+ type = "text"
+ size = "30"
+ length = "30"
+ id = "image.srcInput"
+ onkeypress = "OnChangeSrc()"
+ onkeyup = "checkForImage( this.id ); doValueChanged()"
+ onmouseup = "checkForImage( this.id ); doValueChanged()"
+ onblur = "/*checkForImage( this.id ); doValueChanged()*/"
+ onfocus = "checkForImage( this.id ); doValueChanged()"
+ onchange = "OnChangeSrc(); doOverallEnabling()" />
+ type = "radio"
+ name = "image.dimensionType"
+ id = "originalsizeRadio"
+ onclick = " doValueChanged();"
+ checked = "true" />
- |
-
+ |
+
- |
-
+ |
+
-
+
&customSizeRadio.label;
@@ -197,9 +197,9 @@
+ class = "disabled"
+ for = "imagewidthInput"
+ id = "imagewidthLabel">
&widthEditField.label;
@@ -209,23 +209,28 @@
+ type = "text"
+ size = "4"
+ length = "4"
+ id = "imagewidthInput"
+ disabled = "true"
+ onfocus = "oldSourceInt = this.value;"
+ onkeyup = "constrainProportions(this.id, 'imageheightInput')"
+ onchange = "doValueChanged()" />
- |
-
+ |
+
-
+
|
@@ -237,9 +242,9 @@
+ class = "disabled"
+ for = "imageheightInput"
+ id = "imageheightLabel">
&heightEditField.label;
@@ -248,25 +253,28 @@
|
+ type = "text"
+ size = "4"
+ length = "4"
+ id = "imageheightInput"
+ disabled = "true"
+ onfocus = "oldSourceInt = this.value;"
+ onkeyup = "constrainProportions(this.id, 'imagewidthInput')"
+ onchange = "doValueChanged()" />
- |
-
+ |
+
-
+
|
@@ -280,13 +288,13 @@
+ type = "checkbox"
+ id = "constrainCheckbox" />
-
+
&constrainCheckbox.label;
@@ -297,44 +305,42 @@
|
-
+ |
+ class = "selectbox"
+ for = "image.alignType"
+ id = "imagealignmentLabel">
&alignment.label;
+ id = "image.alignType"
+ src = "resource:/chrome/editor/skin/default/images/ED_imgalignbottom.gif"
+ class = "popup"
+ popup = "ImageTextAlignment"
+ popupanchor = "bottomleft"
+ align = "left"
+ onchange = "doValueChanged()" />
+ |
+
-
-
+ |
+
-
+
&topBottomEditField.label;
@@ -391,35 +397,35 @@
+ type = "text"
+ size = "4"
+ length = "4"
+ maxlength = "4"
+ id = "imagetopbottomInput"
+ onkeyup = "forceInteger(this.id)"
+ onchange = "doValueChanged()"/>
- |
-
+ |
+
-
+
- &pixelsPopup.value;
-
+ &pixelsPopup.value;
+
- |
- |
+ |
+
-
-
+ |
+
-
+
&borderEditField.label;
@@ -428,21 +434,21 @@
+ type ="text"
+ size = "4"
+ length = "4"
+ maxlength = "4"
+ id = "imageborderInput"
+ onkeyup = "forceInteger(this.id)"
+ onchange = "doValueChanged()" />
- |
-
+ |
+
-
+
&pixelsPopup.value;
@@ -464,16 +470,16 @@
@@ -491,101 +497,171 @@
-
-
-
+
+
| | |