From 06b6d5ed37943ea330c7f7f2a1a3a43e951c9f8b Mon Sep 17 00:00:00 2001 From: Alexander Gavriliuk Date: Sun, 22 Sep 2024 08:22:04 +0200 Subject: #2618 Roles and Members tab is a mess --- indra/llui/llview.cpp | 5 +- .../skins/default/xui/en/panel_group_roles.xml | 72 ++++++---------------- 2 files changed, 22 insertions(+), 55 deletions(-) (limited to 'indra') diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index b4cd4075cf..0206e46b57 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -1370,9 +1370,10 @@ void LLView::drawDebugRect() y = rect_height - LINE_HEIGHT * (depth % lines + 1); - std::string debug_text = llformat("%s [%d, %d] + (%d x %d)", getName().c_str(), + std::string debug_text = llformat("%s [%d, %d] + (%d x %d) = [%d, %d]", getName().c_str(), debug_rect.mLeft, mParentView->getRect().getHeight() - debug_rect.mTop, - debug_rect.getWidth(), debug_rect.getHeight()); + debug_rect.getWidth(), debug_rect.getHeight(), + debug_rect.mRight, mParentView->getRect().getHeight() - debug_rect.mBottom); LLFontGL::getFontSansSerifSmall()->renderUTF8(debug_text, 0, (F32)x, (F32)y, border_color, LLFontGL::HCENTER, LLFontGL::BASELINE, LLFontGL::NORMAL, LLFontGL::NO_SHADOW); } diff --git a/indra/newview/skins/default/xui/en/panel_group_roles.xml b/indra/newview/skins/default/xui/en/panel_group_roles.xml index 33f98b37ea..868d54401e 100644 --- a/indra/newview/skins/default/xui/en/panel_group_roles.xml +++ b/indra/newview/skins/default/xui/en/panel_group_roles.xml @@ -1,6 +1,6 @@ + top="0"> @@ -183,15 +173,14 @@ including the Everyone and Owner Roles. draw_heading="true" draw_stripes="false" heading_height="23" - height="132" + height="138" layout="topleft" search_column="1" left="0" follows="left|top|right" right="-1" name="role_list" - top_pad="2" - width="310"> + top_pad="2"> + tool_tip="You can view an Ability's Description and which Roles and Members can execute the Ability."> Abilities allow Members in Roles to do specific @@ -280,8 +264,7 @@ things in this group. There's a broad variety of Abilities. name="action_list" search_column="2" tool_tip="Select an Ability to view more details" - top_pad="5" - width="300"> + top_pad="5"> + tool_tip="View the banned residents from this group."> Any resident on the ban list will be unable to join the group. @@ -318,7 +296,7 @@ things in this group. There's a broad variety of Abilities. + top_pad="0"> + top_pad="0"> + top_pad="0" /> + top_pad="0"> + top_pad="0" /> + top_pad="0" /> -- cgit v1.2.3