aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorAleric Inglewood2010-11-05 14:33:52 +0100
committerAleric Inglewood2010-11-05 14:33:52 +0100
commitb22f87ec754ce300bec038fd24277d7fb65f9f93 (patch)
tree2def204e752a753b48c19a782bc608361b3f53c5 /linden
parentCenter the "loading..." text on the login page. (diff)
downloadmeta-impy-b22f87ec754ce300bec038fd24277d7fb65f9f93.zip
meta-impy-b22f87ec754ce300bec038fd24277d7fb65f9f93.tar.gz
meta-impy-b22f87ec754ce300bec038fd24277d7fb65f9f93.tar.bz2
meta-impy-b22f87ec754ce300bec038fd24277d7fb65f9f93.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 'linden')
-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="" />