diff options
author | Lynx Linden <lynx@lindenlab.com> | 2009-12-02 21:18:59 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2009-12-02 21:18:59 +0000 |
commit | d491050c553ad2fa20f1ecadc37077fba3962b10 (patch) | |
tree | 416a316e20b2dd7361d90a05a7f9b7f3106dc527 /indra/newview/skins/default/xui | |
parent | a6b9765d6237f6a251eb875d38164b53c0eb2bd2 (diff) |
DEV-43439: Added navigation buttons to the Home side panel.
Added Back, Forward, and Home buttons to the web view for the Home
side panel. Still more work to do here, but the basic functionality
is there; albeit hardcoded to secondlife.com.
I notice that you can click Back on the first page. Seems to be an
issue for the general media browser too. I'll file a JIRA for that.
Diffstat (limited to 'indra/newview/skins/default/xui')
-rw-r--r-- | indra/newview/skins/default/xui/en/panel_sidetray_home_tab.xml | 87 |
1 files changed, 73 insertions, 14 deletions
diff --git a/indra/newview/skins/default/xui/en/panel_sidetray_home_tab.xml b/indra/newview/skins/default/xui/en/panel_sidetray_home_tab.xml index 4fe1e08bf0..4b841b0a09 100644 --- a/indra/newview/skins/default/xui/en/panel_sidetray_home_tab.xml +++ b/indra/newview/skins/default/xui/en/panel_sidetray_home_tab.xml @@ -5,29 +5,88 @@ height="570" min_height="350" label="home_tab" + help_topic="sidetray_home" layout="topleft" top="0" left="0" name="home_tab" width="333"> - <panel + <layout_stack follows="all" height="550" layout="topleft" left="10" - help_topic="sidetray_home" - name="sidetray_home" + name="stack" top_pad="10" width="313"> - <web_browser - border_visible="false" - follows="all" - height="550" - layout="topleft" - left="0" - name="browser" - start_url="data:text/html,%3Chtml%3E%3Cbody bgcolor=%22#2A2A2A%22 text=%22eeeeee%22%3E %3Ch3%3E %0D%0A%0D%0ALoading... %3C/h3%3E %3C/body%3E%3C/html%3E" - top="0" - width="313" /> - </panel> + <layout_panel + auto_resize="false" + height="20" + layout="topleft" + left="0" + name="nav_controls" + top="0" + user_resize="false" + width="313"> + <button + follows="left|top" + enabled="false" + height="20" + label="Back" + layout="topleft" + tab_stop="false" + left="0" + name="back" + top="0" + width="70"> + <button.commit_callback + function="MediaBrowser.Back" /> + </button> + <button + follows="left|top" + height="20" + enabled="false" + label="Forward" + layout="topleft" + tab_stop="false" + left_pad="3" + name="forward" + top_delta="0" + width="70"> + <button.commit_callback + function="MediaBrowser.Forward" /> + </button> + <button + follows="left|top" + height="20" + label="Home" + layout="topleft" + tab_stop="false" + left_pad="2" + name="home" + top_delta="0" + width="70"> + <button.commit_callback + function="MediaBrowser.Home" /> + </button> + </layout_panel> + <layout_panel + height="530" + layout="topleft" + left_delta="0" + name="browser_layout" + top_delta="0" + width="313"> + <web_browser + border_visible="false" + follows="all" + height="530" + layout="topleft" + left="0" + name="browser" + start_url="data:text/html,%3Chtml%3E%3Cbody bgcolor=%22#2A2A2A%22 text=%22eeeeee%22%3E %3Ch3%3E %0D%0A%0D%0ALoading... %3C/h3%3E %3C/body%3E%3C/html%3E" + top="0" + width="313" /> + </layout_panel> + </layout_stack> </panel> |