Oops ... backed out unfinished testing code.
parent
5856318a3b
commit
6e72afbcfa
|
|
@ -219,8 +219,6 @@ LLTabContainer::Params::Params()
|
|||
first_tab("first_tab"),
|
||||
middle_tab("middle_tab"),
|
||||
last_tab("last_tab"),
|
||||
panel_border("panel_border",false),
|
||||
panel_bevel_style("panel_bevel_style",LLViewBorder::BEVEL_OUT),
|
||||
use_custom_icon_ctrl("use_custom_icon_ctrl", false),
|
||||
tab_icon_ctrl_pad("tab_icon_ctrl_pad", 0),
|
||||
use_ellipses("use_ellipses"),
|
||||
|
|
@ -242,8 +240,6 @@ LLTabContainer::LLTabContainer(const LLTabContainer::Params& p)
|
|||
mMaxScrollPos(0),
|
||||
mTitleBox(NULL),
|
||||
mTopBorderHeight(LLPANEL_BORDER_WIDTH),
|
||||
mPanelBorder(p.panel_border),
|
||||
mPanelBevelStyle(p.panel_bevel_style),
|
||||
mLockedTabCount(0),
|
||||
mMinTabWidth(0),
|
||||
mMaxTabWidth(p.tab_max_width),
|
||||
|
|
@ -305,14 +301,6 @@ LLTabContainer::LLTabContainer(const LLTabContainer::Params& p)
|
|||
}
|
||||
|
||||
initButtons( );
|
||||
|
||||
if(mPanelBorder)
|
||||
{
|
||||
llwarns << "adding border " << mPanelBevelStyle << llendl;
|
||||
LLViewBorder::Params p;
|
||||
p.bevel_style(mPanelBevelStyle);
|
||||
addChild( LLUICtrlFactory::create<LLViewBorder>(p) );
|
||||
}
|
||||
}
|
||||
|
||||
LLTabContainer::~LLTabContainer()
|
||||
|
|
|
|||
|
|
@ -120,12 +120,6 @@ public:
|
|||
*/
|
||||
Optional<S32> tab_icon_ctrl_pad;
|
||||
|
||||
/**
|
||||
* Defines if all panels should get a panel added automatically
|
||||
*/
|
||||
Optional<bool> panel_border;
|
||||
Optional<LLViewBorder::EBevel> panel_bevel_style;
|
||||
|
||||
Params();
|
||||
};
|
||||
|
||||
|
|
@ -324,9 +318,6 @@ private:
|
|||
bool mCustomIconCtrlUsed;
|
||||
S32 mTabIconCtrlPad;
|
||||
bool mUseTabEllipses;
|
||||
|
||||
bool mPanelBorder;
|
||||
LLViewBorder::EBevel mPanelBevelStyle;
|
||||
};
|
||||
|
||||
#endif // LL_TABCONTAINER_H
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@ background_opaque="false"
|
|||
left="0"
|
||||
name="accordion"
|
||||
top="4"
|
||||
panel_border="true"
|
||||
panel_bevel_style="out"
|
||||
width="313">
|
||||
<panel
|
||||
layout="topleft"
|
||||
|
|
|
|||
Loading…
Reference in New Issue