diff options
author | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2010-03-03 12:44:07 +0200 |
---|---|---|
committer | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2010-03-03 12:44:07 +0200 |
commit | 4f0a34ae7e79af29e50035e1536ae6b1d1928daf (patch) | |
tree | 31d645efca089d39a102c6595090fc33c6ed234b | |
parent | ac85dacfba446893aeea5f47b18a7ea68dc04434 (diff) |
Update for normal bug EXT-5856 - "Auto renew each week" checkbox is displayed in the Classified Info from other resident profile.
Added layout stack to auto reposition description when auto_renew is being shown or hidden.
--HG--
branch : product-engine
-rw-r--r-- | indra/newview/llpanelclassified.cpp | 2 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/panel_classified_info.xml | 43 |
2 files changed, 39 insertions, 6 deletions
diff --git a/indra/newview/llpanelclassified.cpp b/indra/newview/llpanelclassified.cpp index 68691a1408..7cf27d9141 100644 --- a/indra/newview/llpanelclassified.cpp +++ b/indra/newview/llpanelclassified.cpp @@ -1294,7 +1294,7 @@ void LLPanelClassifiedInfo::resetControls() childSetEnabled("edit_btn", is_self); childSetVisible("edit_btn", is_self); - childSetVisible("auto_renew", is_self); + childSetVisible("price_layout_panel", is_self); } void LLPanelClassifiedInfo::setClassifiedName(const std::string& name) 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 cc26c3093c..221cc9de63 100644 --- a/indra/newview/skins/default/xui/en/panel_classified_info.xml +++ b/indra/newview/skins/default/xui/en/panel_classified_info.xml @@ -185,26 +185,57 @@ v_pad="0" value="[price]" width="105" /> + <layout_stack + animate="false" + name="descr_stack" + layout="topleft" + follows="top|left" + orientation="vertical" + left="10" + top_pad="5" + width="290" + height="250"> + <layout_panel + auto_resize="false" + name="price_layout_panel" + layout="topleft" + follows="top|left" + left="0" + top="0" + width="290" + height="26" + user_resize="false"> <check_box enabled="false" height="16" label="Auto renew each week" layout="topleft" - left="10" + follows="top|left" + left="0" name="auto_renew" - top_pad="5" + top="0" v_pad="0" width="290" /> + </layout_panel> + <layout_panel + name="descr_layout_panel" + layout="topleft" + follows="top|left" + left="0" + top="0" + width="290" + height="215" + user_resize="false"> <text auto_resize="false" follows="left|top" font.style="BOLD" height="10" layout="topleft" - left="10" + left="0" name="classified_desc_label" text_color="white" - top_pad="10" + top="0" value="Description:" width="250" /> <text_editor @@ -215,7 +246,7 @@ h_pad="0" height="200" layout="topleft" - left="10" + left="0" max_length="1023" name="classified_desc" read_only="true" @@ -224,6 +255,8 @@ v_pad="0" value="[description]" word_wrap="true" /> + </layout_panel> + </layout_stack> </panel> </scroll_container> <panel |