MAINT-2902 FIXED Browser secure session indicator should be prominent
parent
1015adf322
commit
aec50ffdad
|
|
@ -534,6 +534,13 @@ void LLComboBox::createLineEditor(const LLComboBox::Params& p)
|
|||
}
|
||||
}
|
||||
|
||||
void LLComboBox::setLeftTextPadding(S32 pad)
|
||||
{
|
||||
S32 left_pad, right_pad;
|
||||
mTextEntry->getTextPadding(&left_pad, &right_pad);
|
||||
mTextEntry->setTextPadding(pad, right_pad);
|
||||
}
|
||||
|
||||
void* LLComboBox::getCurrentUserdata()
|
||||
{
|
||||
LLScrollListItem* item = mList->getFirstSelected();
|
||||
|
|
|
|||
|
|
@ -190,6 +190,8 @@ public:
|
|||
virtual BOOL operateOnAll(EOperation op);
|
||||
|
||||
//========================================================================
|
||||
|
||||
void setLeftTextPadding(S32 pad);
|
||||
|
||||
void* getCurrentUserdata();
|
||||
|
||||
|
|
|
|||
|
|
@ -350,10 +350,12 @@ void LLFloaterWebContent::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent
|
|||
if(test_prefix == prefix)
|
||||
{
|
||||
mSecureLockIcon->setVisible(true);
|
||||
mAddressCombo->setLeftTextPadding(22);
|
||||
}
|
||||
else
|
||||
{
|
||||
mSecureLockIcon->setVisible(false);
|
||||
mAddressCombo->setLeftTextPadding(2);
|
||||
}
|
||||
}
|
||||
else if(event == MEDIA_EVENT_CLOSE_REQUEST)
|
||||
|
|
|
|||
|
|
@ -125,11 +125,10 @@
|
|||
<icon
|
||||
name="media_secure_lock_flag"
|
||||
height="16"
|
||||
follows="top|right"
|
||||
image_name="Lock2"
|
||||
layout="topleft"
|
||||
left_delta="620"
|
||||
top_delta="2"
|
||||
left_delta="4"
|
||||
top="2"
|
||||
visible="false"
|
||||
tool_tip="Secured Browsing"
|
||||
width="16" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue