diff options
author | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-01-14 18:52:52 +0200 |
---|---|---|
committer | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-01-14 18:52:52 +0200 |
commit | 6649dcc38ea13ecc6390891e9ac6ae606070ce60 (patch) | |
tree | 9af6cd8f94019d7965fbf35d13d875974126736b /indra/newview/llpanelpick.h | |
parent | 24d8bf26fc489c7cb35cd4d8bfba2ca8c1e46442 (diff) |
Fixed normal bug (EXT-3794) Controls in Edit Pick side panel cut off by
vertical scrollbar.
- Added resizing pick info and pick editing panels when vertical scrollbar appears.
- Resized controls on pick info and edit panels to avoid them being overlapped by scrollbar.
- Changed pick info description from text box to text editor in read-only mode to allow text scrolling.
- Removed text box resizing logic from LLPanelPickEdit.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanelpick.h')
-rw-r--r-- | indra/newview/llpanelpick.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/indra/newview/llpanelpick.h b/indra/newview/llpanelpick.h index 12b5a116b4..62c3b20c0d 100644 --- a/indra/newview/llpanelpick.h +++ b/indra/newview/llpanelpick.h @@ -43,6 +43,7 @@ class LLIconCtrl; class LLTextureCtrl; +class LLScrollContainer; class LLMessageSystem; class LLAvatarPropertiesObserver; @@ -69,6 +70,8 @@ public: /*virtual*/ BOOL postBuild(); + /*virtual*/ void reshape(S32 width, S32 height, BOOL called_from_parent = TRUE); + /*virtual*/ void processProperties(void* data, EAvatarProcessorType type); /** @@ -140,15 +143,6 @@ protected: virtual LLVector3d& getPosGlobal() { return mPosGlobal; } /** - * Reshapes content panel to fit all elements. - * - * Assume that description text-box is the last element of panel. - * Reshape text-box to fit text height and then reshape content panel to fit - * text-box bottom. EXT-1326 - */ - void updateContentPanelRect(); - - /** * Callback for "Map" button, opens Map */ void onClickMap(); @@ -162,7 +156,11 @@ protected: protected: - LLTextureCtrl* mSnapshotCtrl; + S32 mScrollingPanelMinHeight; + S32 mScrollingPanelWidth; + LLScrollContainer* mScrollContainer; + LLPanel* mScrollingPanel; + LLTextureCtrl* mSnapshotCtrl; LLUUID mAvatarId; LLVector3d mPosGlobal; |