summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-25 17:45:07 -0800
committerJames Cook <james@lindenlab.com>2009-11-25 17:45:07 -0800
commit52a387e00f963d9920f36ffc0dcc855889f36cad (patch)
tree318dfd75430cdea9b0b0a0fdd540f406b008aa2d
parentb2a5a270afb27f9d4fc7282954ac15b7e01b7a33 (diff)
Fix up nav bar buy icon spacing.
Trivial, not reviewed.
-rw-r--r--indra/newview/lllocationinputctrl.cpp2
-rw-r--r--indra/newview/skins/default/xui/en/widgets/location_input.xml3
2 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp
index 45c60df84f..9d4dc2b285 100644
--- a/indra/newview/lllocationinputctrl.cpp
+++ b/indra/newview/lllocationinputctrl.cpp
@@ -638,7 +638,7 @@ static S32 layout_widget(LLUICtrl* widget, S32 right)
void LLLocationInputCtrl::refreshParcelIcons()
{
// Our "cursor" moving right to left
- S32 x = mAddLandmarkBtn->getRect().mLeft - mIconHPad;
+ S32 x = mAddLandmarkBtn->getRect().mLeft;
static LLUICachedControl<bool> show_properties("NavBarShowParcelProperties", false);
if (show_properties)
diff --git a/indra/newview/skins/default/xui/en/widgets/location_input.xml b/indra/newview/skins/default/xui/en/widgets/location_input.xml
index 90887dead6..ea78f6d0dd 100644
--- a/indra/newview/skins/default/xui/en/widgets/location_input.xml
+++ b/indra/newview/skins/default/xui/en/widgets/location_input.xml
@@ -11,7 +11,7 @@
add_landmark_image_disabled="Favorite_Star_Off"
add_landmark_image_hover="Favorite_Star_Over"
add_landmark_image_selected="Favorite_Star_Press"
- add_landmark_hpad="10"
+ add_landmark_hpad="12"
icon_hpad="2"
allow_text_entry="true"
list_position="below"
@@ -42,6 +42,7 @@
<for_sale_button
name="for_sale_btn"
image_unselected="parcel_lght_ForSale"
+ image_selected="parcel_lght_ForSale"
width="22"
height="18"
follows="right|top"