diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-29 01:11:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-29 01:11:53 +0300 |
commit | e09cff19fba98786e2bbc551066cbb11d189f687 (patch) | |
tree | 909380d278d6eb6b34c0f2c92278d6b86e7313c9 /src/gui/widgets/dropdown.cpp | |
parent | 8173f60c83d176e10412b1dc1191d7987cebdb10 (diff) | |
download | manaplus-e09cff19fba98786e2bbc551066cbb11d189f687.tar.gz manaplus-e09cff19fba98786e2bbc551066cbb11d189f687.tar.bz2 manaplus-e09cff19fba98786e2bbc551066cbb11d189f687.tar.xz manaplus-e09cff19fba98786e2bbc551066cbb11d189f687.zip |
Add dropdown own color.
Parameter "DROPDOWN" in colors.xml
Diffstat (limited to 'src/gui/widgets/dropdown.cpp')
-rw-r--r-- | src/gui/widgets/dropdown.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp index d42b60799..3012c5553 100644 --- a/src/gui/widgets/dropdown.cpp +++ b/src/gui/widgets/dropdown.cpp @@ -106,7 +106,8 @@ DropDown::DropDown(gcn::ListModel *listModel, gcn::ActionListener* listener, instances++; - setForegroundColor(Theme::getThemeColor(Theme::TEXT)); + mListBox->setForegroundColor(Theme::getThemeColor(Theme::DROPDOWN)); + setForegroundColor(Theme::getThemeColor(Theme::DROPDOWN)); if (!eventId.empty()) setActionEventId(eventId); |