aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAleric Inglewood2010-11-05 14:33:52 +0100
committerMcCabe Maxsted2010-11-05 14:09:58 -0700
commit77444695c7eef38826a85aff5fb9f0fb97b8f9ce (patch)
tree084ba7f39a9402ac03e673b2f3cad966edfd9385
parentCenter the "loading..." text on the login page. (diff)
downloadmeta-impy-77444695c7eef38826a85aff5fb9f0fb97b8f9ce.zip
meta-impy-77444695c7eef38826a85aff5fb9f0fb97b8f9ce.tar.gz
meta-impy-77444695c7eef38826a85aff5fb9f0fb97b8f9ce.tar.bz2
meta-impy-77444695c7eef38826a85aff5fb9f0fb97b8f9ce.tar.xz
IMP-592: Extend login screen menu bar till the top of the window.
Basically, this Linden code is just horribly broken. I spend already too much time on this (two days) for dead code, so I settled for a minimal fix for this particular case that works, instead of fixing their code properly. The problem is that without specifying "bottom" the code adds 4 pixels (VPAD) between whatever widget that is added and it's parents top (in LLView::createRect). In order to be sure that bottom is exactly minus the height, I had to specify the height too; hopefully this value is the same for everyone cause theorectically it depends on the font size (4 + fontheight + 4). The default height of the Linden code is only 4 + fontheight (they leave off the VPAD).
Diffstat (limited to '')
-rw-r--r--linden/doc/contributions.txt1
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/menu_login.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/linden/doc/contributions.txt b/linden/doc/contributions.txt
index f518911..a54424c 100644
--- a/linden/doc/contributions.txt
+++ b/linden/doc/contributions.txt
@@ -80,6 +80,7 @@ Aleric Inglewood
80 IMP-578 80 IMP-578
81 IMP-579 81 IMP-579
82 IMP-581 82 IMP-581
83 IMP-592
83 IMP-595 84 IMP-595
84 IMP-660 85 IMP-660
85 IMP-661 86 IMP-661
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_login.xml b/linden/indra/newview/skins/default/xui/en-us/menu_login.xml
index d9a9c4c..18fb8e6 100644
--- a/linden/indra/newview/skins/default/xui/en-us/menu_login.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/menu_login.xml
@@ -1,5 +1,5 @@
1<?xml version="1.0" encoding="utf-8" standalone="yes" ?> 1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
2<menu_bar name="Login Menu" opaque="true" tear_off="false"> 2<menu_bar name="Login Menu" opaque="true" tear_off="false" height="18" bottom="-18">
3 <menu create_jump_keys="true" label="File" name="File" opaque="true" tear_off="false"> 3 <menu create_jump_keys="true" label="File" name="File" opaque="true" tear_off="false">
4 <menu_item_call label="Quit" name="Quit" shortcut="control|Q"> 4 <menu_item_call label="Quit" name="Quit" shortcut="control|Q">
5 <on_click function="File.Quit" userdata="" /> 5 <on_click function="File.Quit" userdata="" />