Viewer 2 Tweaks/Beta 3

From Second Life Wiki
Jump to: navigation, search

A place to share tweaks for Viewer 2

XML modifications

Extend the Nearby Chat bar

  • In skins/default/xui/en/panel_nearby_chat_bar.xml

Change the max_width (pixels) to a more suitable value.

 <string name="max_width">
    320
 </string>

Try a value of 1000 or greater.

Hiding IM popups

  • Replace panel_instant_message.xml located in skins\default\xui\en

With the xml from

http://pastebin.com/7eZhHR82
this is not a perfect solution but best i can do

--Alexandrea Fride 22:08, 26 February 2010 (UTC)

Add BUILD option to the rightclick on object menu

  • Replace the contents of menu_object.xml located in skins\default\xui\en

With the xml from

 http://pastebin.com/RNneHXft 

Screenshot Build-option-menu.png

Patch File (informatieve)

Index: indra/newview/skins/default/xui/en/menu_object.xml
===================================================================
--- indra/newview/skins/default/xui/en/menu_object.xml	(revision 2)
+++ indra/newview/skins/default/xui/en/menu_object.xml	(working copy)
@@ -21,14 +21,15 @@
         <menu_item_call.on_visible
          function="EnableEdit"/>
     </menu_item_call>
-    <menu_item_call
-      label="Build"
-      name="Build">
-      <menu_item_call.on_click
-       function="Object.Edit" />
-      <menu_item_call.on_visible
-       function="VisibleBuild"/>
-    </menu_item_call>
+   <menu_item_call
+     enabled="false"
+     label="Build"
+     name="Create">
+        <menu_item_call.on_click
+         function="Land.Build" />
+        <menu_item_call.on_enable
+         function="EnableEdit" />
+	</menu_item_call>
    <menu_item_call
      enabled="false"
      label="Open"

--Alexandrea Fride 22:08, 26 February 2010 (UTC)

Make Chat and IM Windows Transparent

  • Navigate to: \skins\default\xui\en\widgets\
Locate and open "floater.xml" in a text editor.

Locate the line: background_visible="true"

Change the value to: background_visible="false"

--Submitted by Sean McPherson - Posted by Dirk Talamasca 10:41 am (UTC) on Saturday, Feb 27, 2010

Adding About land Button on top navigation bar

  • Replace the contents of panel_navigation_bar.xml located in skins\default\xui\en

With the xml from

 http://pastebin.com/bh7N1dC5

Screenshot About-land.png

Patch File (informatieve)

Index: indra/newview/skins/default/xui/en/panel_navigation_bar.xml
===================================================================
--- indra/newview/skins/default/xui/en/panel_navigation_bar.xml	(revision 2)
+++ indra/newview/skins/default/xui/en/panel_navigation_bar.xml	(working copy)
@@ -73,6 +73,20 @@
 	     tool_tip="Teleport to my home location"
 	     top_delta="0"
 	     width="32" />
+	    <button
+	     follows="left|top"
+	     height="23"
+	     layout="topleft"
+	     left_pad="7"
+	     name="About_Land"
+		 label="About Land" 
+	     tool_tip="About Land"
+	     top_delta="0"
+	     width="70">
+			<button.init_callback
+             function="Button.SetFloaterToggle"
+             parameter="about_land" />
+		 </button>
 	    <location_input
 	     follows="left|right|top"
 	     halign="right"
@@ -84,7 +98,7 @@
 	     mouse_opaque="false"
 	     name="location_combo"
 	     top_delta="0"
-	     width="266">
+	     width="195">
 	     <!-- *TODO: Delete.  Let the location_input use the correct art sizes.
 	        <location_input.add_landmark_button
 	         height="18"

--Alexandrea Fride 13:07, 27 February 2010 (UTC)