summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/panel_login.xml
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-07-18 14:47:16 -0400
committerNat Goodspeed <nat@lindenlab.com>2012-07-18 14:47:16 -0400
commitf7449bdc570e97a2ded2864779c72cce7f52e608 (patch)
treef1304d218fa4ec718db4337a3d5f2b2046233ed8 /indra/newview/skins/default/xui/en/panel_login.xml
parent149598bd57ad7a0e6703c49355c6d51ba4c55202 (diff)
Make "Log In" button (etc.) move with start/grid combo visibility.
The "Start at:" combo box and the grid-selector box can be turned on and off with checkboxes on the Preferences floater. Break the bottom-left layout_panel on panel_login into several different layout_panels so when these UI elements disappear, other controls move left to fill the holes. Similarly, when you turn on either or both of the UI elements in question, the remaining controls in that general bottom-left area move right to accommodate. Tweak C++ and non-English panel_login.xml overrides to reflect widgets' containment in new layout_panel elements. Discard obsolete "mode_selection_text" and "mode_combo" translations from non- English panel_login.xml overrides.
Diffstat (limited to 'indra/newview/skins/default/xui/en/panel_login.xml')
-rw-r--r--indra/newview/skins/default/xui/en/panel_login.xml53
1 files changed, 39 insertions, 14 deletions
diff --git a/indra/newview/skins/default/xui/en/panel_login.xml b/indra/newview/skins/default/xui/en/panel_login.xml
index 8a1dd6750b..48f6a654d8 100644
--- a/indra/newview/skins/default/xui/en/panel_login.xml
+++ b/indra/newview/skins/default/xui/en/panel_login.xml
@@ -7,7 +7,7 @@ left="0"
name="panel_login"
focus_root="true"
top="600"
- width="996">
+ width="1130">
<string name="reg_in_client_url" translate="false">
http://secondlife.eniac15.lindenlab.com/reg-in-client/
</string>
@@ -28,22 +28,23 @@ top="600"
start_url=""
top="0"
height="600"
- width="980"/>
+ width="996"/>
<layout_stack
+animate="false"
follows="left|bottom|right"
name="login_widgets"
layout="topleft"
orientation="horizontal"
top="519"
-width="996"
+width="1130"
height="80">
<layout_panel
auto_resize="false"
follows="left|bottom"
name="login"
layout="topleft"
-width="900"
-min_width="865"
+width="310"
+min_width="310"
height="80">
<text
follows="left|bottom"
@@ -104,11 +105,20 @@ is_password="true"
select_on_focus="true"
top_pad="0"
width="135" />
+</layout_panel>
+<layout_panel
+auto_resize="false"
+follows="left|bottom"
+name="start_location_panel"
+layout="topleft"
+width="175"
+min_width="175"
+height="80">
<text
follows="left|bottom"
font="SansSerifSmall"
height="16"
-left="320"
+left="10"
name="start_location_text"
top="35"
width="130">
@@ -135,24 +145,41 @@ name="MyHome"
label="&lt;Type region name&gt;"
name="Typeregionname" value="" />
</combo_box>
+</layout_panel>
+<layout_panel
+auto_resize="false"
+follows="left|bottom"
+name="grid_panel"
+layout="topleft"
+width="145"
+height="80"
+visible="false">
<combo_box
allow_text_entry="true"
font="SansSerifSmall"
follows="left|right|bottom"
height="23"
max_chars="256"
-left="490"
+left="10"
top="51"
layout="topleft"
top_pad="2"
name="server_combo"
-width="135"
- visible="false" />
+width="135" />
+</layout_panel>
+<layout_panel
+auto_resize="false"
+follows="left|bottom"
+name="links_login_panel"
+layout="topleft"
+width="290"
+height="80">
<text
follows="left|bottom"
font="SansSerifSmall"
text_color="EmphasisColor"
-left="630"
+left="10"
+height="16"
name="login_help"
top="19"
width="280">
@@ -171,21 +198,19 @@ width="280">
<button
follows="left|bottom"
top_pad="0"
- left="630"
height="23"
image_unselected="PushButton_On"
image_selected="PushButton_On_Selected"
label="Log In"
label_color="White"
layout="topleft"
- left_pad="10"
name="connect_btn"
width="90" />
<check_box
control_name="RememberPassword"
follows="left|bottom"
font="SansSerifSmall"
-left="730"
+left="100"
top="56"
height="16"
label="Remember password"
@@ -196,7 +221,7 @@ label="Remember password"
<layout_panel
tab_stop="false"
follows="right|bottom"
-name="links"
+name="links"
width="210"
min_width="210"
height="80">