From ac85dacfba446893aeea5f47b18a7ea68dc04434 Mon Sep 17 00:00:00 2001
From: Dmitry Zaporozhan <dzaporozhan@productengine.com>
Date: Wed, 3 Mar 2010 12:37:34 +0200
Subject: [PATCH] Implemented major sub task EXT-5857 - location, content type,
 category, description in the Classified Info panel have no labels. Added
 requested labels.

--HG--
branch : product-engine
---
 .../default/xui/en/panel_classified_info.xml  | 47 +++++++++++++++++++
 .../default/xui/en/panel_edit_classified.xml  | 39 +++++++++++++--
 2 files changed, 83 insertions(+), 3 deletions(-)

diff --git a/indra/newview/skins/default/xui/en/panel_classified_info.xml b/indra/newview/skins/default/xui/en/panel_classified_info.xml
index 903a9689f17..cc26c3093ca 100644
--- a/indra/newview/skins/default/xui/en/panel_classified_info.xml
+++ b/indra/newview/skins/default/xui/en/panel_classified_info.xml
@@ -107,6 +107,17 @@
          word_wrap="true"
          v_pad="0"
          value="[loading...]" />
+        <text
+         follows="left|top"
+         font.style="BOLD"
+         height="10"
+         layout="topleft"
+         left="10"
+         name="content_type_label"
+         text_color="white"
+         top_pad="10"
+         value="Content Type:"
+         width="250" />
         <text_editor
          allow_scroll="false"
          bg_visible="false"
@@ -121,6 +132,17 @@
          top_pad="5"
          v_pad="0"
          value="[content type]" />
+        <text
+         follows="left|top"
+         font.style="BOLD"
+         height="10"
+         layout="topleft"
+         left="10"
+         name="category_label"
+         text_color="white"
+         top_pad="10"
+         value="Category:"
+         width="250" />
         <text_editor
          allow_html="true"
          allow_scroll="false"
@@ -136,6 +158,17 @@
          top_pad="5"
          v_pad="0"
          value="[category]" />
+        <text
+         follows="left|top"
+         font.style="BOLD"
+         height="10"
+         layout="topleft"
+         left="10"
+         name="price_for_listing_label"
+         text_color="white"
+         top_pad="10"
+         value="Price for listing:"
+         width="250" />
         <text_editor
          allow_scroll="false"
          bg_visible="false"
@@ -150,6 +183,7 @@
          top_pad="5"
          tool_tip="Price for listing."
          v_pad="0"
+         value="[price]"
          width="105" />
         <check_box
          enabled="false"
@@ -161,6 +195,18 @@
          top_pad="5"
          v_pad="0"
          width="290" />
+        <text
+         auto_resize="false"
+         follows="left|top"
+         font.style="BOLD"
+         height="10"
+         layout="topleft"
+         left="10"
+         name="classified_desc_label"
+         text_color="white"
+         top_pad="10"
+         value="Description:"
+         width="250" />
         <text_editor
          allow_html="true"
          allow_scroll="false"
@@ -173,6 +219,7 @@
          max_length="1023"
          name="classified_desc"
          read_only="true"
+         top_pad="5"
          width="290"
          v_pad="0"
          value="[description]"
diff --git a/indra/newview/skins/default/xui/en/panel_edit_classified.xml b/indra/newview/skins/default/xui/en/panel_edit_classified.xml
index 66d5389d9b3..3e25d0c639e 100644
--- a/indra/newview/skins/default/xui/en/panel_edit_classified.xml
+++ b/indra/newview/skins/default/xui/en/panel_edit_classified.xml
@@ -59,7 +59,7 @@
      layout="topleft"
      top="0"
      background_visible="false"
-     height="610"
+     height="690"
      left="0"
      width="285">
     <texture_picker
@@ -153,7 +153,7 @@
          type="string"
          length="1"
          follows="left|top"
-         height="50"
+         height="30"
          layout="topleft"
          left="10"
          name="classified_location"
@@ -172,6 +172,17 @@
          top_pad="5"
          name="set_to_curr_location_btn"
          width="156" />
+        <text
+         follows="left|top"
+         font.style="BOLD"
+         height="10"
+         layout="topleft"
+         left="10"
+         name="category_label"
+         text_color="white"
+         top_pad="15"
+         value="Category:"
+         width="250" />
         <combo_box
          follows="left|top" 
          height="23" 
@@ -180,6 +191,17 @@
          name="category" 
          top_pad="5"
          width="156" />
+        <text
+         follows="left|top"
+         font.style="BOLD"
+         height="10"
+         layout="topleft"
+         left="10"
+         name="content_type_label"
+         text_color="white"
+         top_pad="15"
+         value="Content type:"
+         width="250" />
         <combo_box 
          allow_text_entry="false" 
          follows="left|top" 
@@ -199,6 +221,17 @@
            General Content
          </combo_item>
         </combo_box>
+        <text
+         follows="left|top"
+         font.style="BOLD"
+         height="10"
+         layout="topleft"
+         left="10"
+         name="price_for_listing_label"
+         text_color="white"
+         top_pad="15"
+         value="Price for listing:"
+         width="250" />
         <spinner
          decimal_digits="0"
          follows="left|top"
@@ -223,7 +256,7 @@
          layout="topleft"
          left="10"
          name="auto_renew"
-         top_pad="5"
+         top_pad="15"
          width="250" />
     </panel>
     </scroll_container>
-- 
GitLab