summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/panel_media_settings_general.xml
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2009-11-30 16:01:20 -0800
committerRick Pasetto <rick@lindenlab.com>2009-11-30 16:01:20 -0800
commit5040a726755939704a3de14187d9d020caea4d9d (patch)
tree9518caffd498fd1677cab72ba2646f0d4ad4539f /indra/newview/skins/default/xui/en/panel_media_settings_general.xml
parent8671bfb930f5fdaec8e2c0338b376bc41224199e (diff)
DEV-43041 DEV-41648 - disable OK and Apply if the media data is the same as the initial
Review #48 This change kills two birds with one stone: every frame, we check to see if the media data is the same as the one we 'initialize' with. If it is, we disable OK and Cancel. Otherwise we enable them. This makes it very difficult to set empty media data, as well as fixing the "apply button doesn't grey out" bug.
Diffstat (limited to 'indra/newview/skins/default/xui/en/panel_media_settings_general.xml')
-rw-r--r--indra/newview/skins/default/xui/en/panel_media_settings_general.xml23
1 files changed, 17 insertions, 6 deletions
diff --git a/indra/newview/skins/default/xui/en/panel_media_settings_general.xml b/indra/newview/skins/default/xui/en/panel_media_settings_general.xml
index e00f654750..89f1fe35ca 100644
--- a/indra/newview/skins/default/xui/en/panel_media_settings_general.xml
+++ b/indra/newview/skins/default/xui/en/panel_media_settings_general.xml
@@ -221,12 +221,23 @@
width="50" />
<text bottom_delta="0" follows="top|left" height="15" left_delta="60" name="X_label">
- X
+ X
</text>
- <spinner bottom_delta="0"
- decimal_digits="0" enabled="true" follows="left|top" height="16"
- increment="1" initial_val="256" label="" label_width="0"
- left_delta="20" max_val="2048" min_val="0" mouse_opaque="true"
- name="height_pixels" width="50" />
+ <spinner
+ bottom_delta="0"
+ decimal_digits="0"
+ enabled="true"
+ follows="left|top"
+ height="16"
+ increment="1"
+ initial_val="256"
+ label=""
+ label_width="0"
+ left_delta="20"
+ max_val="2048"
+ min_val="0"
+ mouse_opaque="true"
+ name="height_pixels"
+ width="50" />
</panel>