SL-14901 Updated button according to new spec

master
Mnikolenko Productengine 2021-03-10 17:54:44 +02:00
parent a68c527eae
commit 446253df44
4 changed files with 14 additions and 13 deletions

View File

@ -838,7 +838,7 @@ void LLFavoritesBarCtrl::updateButtons()
int j = first_changed_item_index;
for (; j < mItems.size(); j++)
{
last_new_button = createButton(mItems[j], button_params, j == 0? last_right_edge + 4 : last_right_edge);
last_new_button = createButton(mItems[j], button_params, last_right_edge);
if (!last_new_button)
{
break;

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -339,7 +339,9 @@ with the same filename but different name
<texture name="Inv_VersionFolderOpen" file_name="icons/Inv_VersionFolderOpen.png" preload="false" />
<texture name="Inv_Toolbar_SearchVisibility" file_name="icons/Inv_Toolbar_SearchVisibility.png" preload="false" />
<texture name="Landmarks_overlay" file_name="navbar/Landmarks.png" preload="false" />
<texture name="Linden_Dollar_Alert" file_name="widgets/Linden_Dollar_Alert.png"/>
<texture name="Linden_Dollar_Background" file_name="widgets/Linden_Dollar_Background.png"/>

View File

@ -151,32 +151,31 @@
layout="topleft"
auto_resize="true"
user_resize="true"
min_width="242"
min_width="254"
name="favorites_layout_panel"
width="320">
width="342">
<icon
follows="top|left"
height="25"
image_name="ChatBarHandle"
layout="topleft"
left="-323"
left="-345"
name="resize_handle"
top="4"
width="5" />
<button
height="16"
width="16"
height="23"
width="32"
layout="topleft"
mouse_opaque="true"
follows="left|top"
name="landmarks_btn"
tool_tip="My Landmarks"
top="9"
left_pad="10"
image_selected="Icon_Gear"
image_pressed="Icon_Gear"
image_unselected="Icon_Gear"
is_toggle="true">
top_delta="1"
left_pad="8"
scale_image="false"
image_overlay="Landmarks_overlay"
image_hover_unselected="PushButton_Over">
</button>
<favorites_bar
follows="left|right|top"