Fixes for Gemini skin (As well as any future skin that uses a white-on-black theme).

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-28 17:40:06 -04:00
parent b1bc45ac42
commit cd8a87eea4
3 changed files with 5 additions and 3 deletions

View File

@@ -75,7 +75,8 @@ LLComboBox::LLComboBox( const std::string& name, const LLRect &rect, const std::
mPrearrangeCallback( NULL ),
mTextEntryCallback( NULL ),
mSuppressTentative( false ),
mLabel(label)
mLabel(label),
mListColor(LLUI::sColorsGroup->getColor("ComboBoxBg"))
{
// Always use text box
// Text label button
@@ -100,7 +101,7 @@ LLComboBox::LLComboBox( const std::string& name, const LLRect &rect, const std::
mList = new LLScrollListCtrl(std::string("ComboBox"), LLRect(),
&LLComboBox::onItemSelected, this, FALSE);
mList->setVisible(FALSE);
mList->setBgWriteableColor( LLColor4(1,1,1,1) );
mList->setBgWriteableColor(mListColor);
mList->setCommitOnKeyboardMovement(FALSE);
addChild(mList);