From 3620e537ab9922e44a5c2bb1c59f47fb8d66e5c0 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Thu, 5 Feb 2015 00:37:35 -0500 Subject: [PATCH] Satisfy Issue 1827: Group Profile Texture Expansion Also fix buttons laying over Group Insignia text --- indra/newview/llpanelgroupgeneral.cpp | 2 ++ .../skins/default/xui/en-us/panel_group_general.xml | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/indra/newview/llpanelgroupgeneral.cpp b/indra/newview/llpanelgroupgeneral.cpp index 48d74eacd..84c5997a1 100644 --- a/indra/newview/llpanelgroupgeneral.cpp +++ b/indra/newview/llpanelgroupgeneral.cpp @@ -128,6 +128,8 @@ BOOL LLPanelGroupGeneral::postBuild() { mInsignia->setCommitCallback(boost::bind(&LLPanelGroupGeneral::onCommitAny,this)); mDefaultIconID = mInsignia->getImageAssetID(); + void show_picture(const LLUUID& id, const std::string& name); + getChild("bigimg")->setCommitCallback(boost::bind(boost::bind(show_picture, boost::bind(&LLTextureCtrl::getImageAssetID, mInsignia), "Group Insignia"))); } mEditCharter = getChild("charter", recurse); diff --git a/indra/newview/skins/default/xui/en-us/panel_group_general.xml b/indra/newview/skins/default/xui/en-us/panel_group_general.xml index 9e51bb3fa..53f9a8cfd 100644 --- a/indra/newview/skins/default/xui/en-us/panel_group_general.xml +++ b/indra/newview/skins/default/xui/en-us/panel_group_general.xml @@ -53,8 +53,8 @@ Hover your mouse over the options for more help. mouse_opaque="true" name="insignia" tool_tip="Click to choose a picture" width="128" /> @@ -62,11 +62,12 @@ Hover your mouse over the options for more help.