IdeIntf: OI: fix font color for selected items in combobox

git-svn-id: trunk@55305 -
This commit is contained in:
ondrej 2017-06-10 12:16:30 +00:00
parent 0cd8ed04e5
commit ecbfde6a60

View File

@ -3461,6 +3461,8 @@ begin
ValueComboBox.Canvas.FillRect(ARect);
ValueComboBox.Canvas.Font.Assign(FDefaultValueFont);
if odSelected in State then
ValueComboBox.Canvas.Font.Color := clHighlightText;
if CurRow.Editor.HasDefaultValue and (ItemValue = CurRow.Editor.GetDefaultValue) then
ValueComboBox.Canvas.Font.Style := ValueComboBox.Canvas.Font.Style + [fsItalic];
CurRow.Editor.ListDrawValue(ItemValue,Index,ValueComboBox.Canvas,ARect,AState);