summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-09-13 19:53:08 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-09-13 19:53:08 +0100
commitbf8639dd1830e313f78e65efb0b0bce6a8b82a62 (patch)
tree1ecfc825ffba12f5444c2afefb2d21c24365cf55 /indra/newview
parent17d913fef4778234c97b48d26167d6e1f62d8add (diff)
Annoying focus hacks to unblock development.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lltoastnotifypanel.cpp1
-rw-r--r--indra/newview/skins/default/xui/en/panel_notification.xml6
2 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/lltoastnotifypanel.cpp b/indra/newview/lltoastnotifypanel.cpp
index 6413874863..8cae7d0963 100644
--- a/indra/newview/lltoastnotifypanel.cpp
+++ b/indra/newview/lltoastnotifypanel.cpp
@@ -178,6 +178,7 @@ mCloseNotificationOnDestroy(true)
// (re)enable the textbox for this panel, and continue.
mUserInputBox->setVisible(TRUE);
mUserInputBox->setEnabled(TRUE);
+ mUserInputBox->setFocus(TRUE);
mUserInputBox->insertText("FOOOOOO!!!!");
continue;
}
diff --git a/indra/newview/skins/default/xui/en/panel_notification.xml b/indra/newview/skins/default/xui/en/panel_notification.xml
index a816eaccb6..ef9e5323f9 100644
--- a/indra/newview/skins/default/xui/en/panel_notification.xml
+++ b/indra/newview/skins/default/xui/en/panel_notification.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
+ tab_stop="false"
background_opaque="false"
border_visible="false"
background_visible="true"
@@ -15,6 +16,7 @@
width="305">
<!-- THIS PANEL CONTROLS TOAST HEIGHT? -->
<panel
+ tab_stop="false"
border_visible="false"
bevel_style="none"
background_visible="true"
@@ -70,7 +72,8 @@
name="user_input_box"
read_only="false"
tab_stop="false"
- text_color="red"
+ text_color="green"
+ text_readonly_color="red"
top="50"
visible="false"
width="285"
@@ -103,6 +106,7 @@
parse_urls="true"/>
</panel>
<panel
+ tab_stop="false"
background_visible="false"
follows="left|right|bottom"
height="30"